UNPKG

train

Version:

Train a fast (FIFO) queue with a rollback mechanism. Behind the scenes it uses 2 arrays to simulate and perform fast shifting and popping operations without using the Array#shift() method..

24 lines (23 loc) 431 B
sudo: false language: node_js node_js: - "9" - "8" - "7" - "6" - "5" - "4" - "3" - "2" - "1" - "0.12" - "0.11" - "0.10" before_script: - npm install -g istanbul - npm install -g codeclimate-test-reporter script: istanbul cover -v test/run.js after_script: - codeclimate-test-reporter < coverage/lcov.info env: - CODECLIMATE_REPO_TOKEN=e8b3408d5ac99338d8d659eb961681d2d325df53e1b1ae2fefb1bb77f4bcb6e5