fast-fifo
npm install fast-fifoUsage
const FIFO = require('fast-fifo')
const q = new FIFO()
q.push('hello')
q.push('world')
q.shift() // returns hello
q.shift() // returns worldAPI
q = new FIFO()
q = new FIFO()q.push(value)
q.push(value)value = q.shift()
value = q.shift()q.clear()
q.clear()bool = q.isEmpty()
bool = q.isEmpty()value = q.peek()
value = q.peek()len = q.length
len = q.lengthBenchmarks
License
Previousfast-deep-equalNextJAEGIS-METHOD-v2.0\v2.1.1\JAEGIS\JAEGIS_Core\JAEGIS-METHOD\node_modules\fast-levenshtein\LICENSE
Last updated