All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- .contains() to check if the queue contains a specific element.
- return null in type definition for functions.
- README
- readme.
- added types to packge.json
- readme.
- added push & pop to ts types.
- push & pop as synonyms for enqueue & dequeue
- README
- index.d.ts
- export.
- README.
- typescript.
.enqueuecan now chain other queue methods.- named export for queue class.
- readme
- jsdoc
- readme
- .npmignore
- README
- README & jsdoc
.clone()to create a shallow copy of the queue.- Enable creating the queue from an existing list
new Queue(list)enable passing a list in the constructor.Queue.fromArray(list)static function.