node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

fixed-set

fixed-set

fixed size set for JavaScript

Build Status Coverage Status npm version npm downloads npm license

Install

$ npm i fixed-set --save

API

const FixedSet = require('fixed-set');

queue

const s = new FixedSet(2);
s.add(1).add(2);
s.queue(3).then(i => {
 
});

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org