Skip to content

Yomguithereal/mnemonist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ae2be7f · Jan 2, 2024
Dec 5, 2023
May 5, 2021
Apr 27, 2020
Feb 9, 2019
Mar 12, 2020
Oct 4, 2022
Oct 30, 2022
Jun 7, 2022
Jan 25, 2019
Jun 7, 2022
Jun 17, 2020
Jan 2, 2024
Oct 22, 2016
Nov 19, 2021
Jan 2, 2024
Jun 17, 2020
Jun 7, 2022
Nov 21, 2019
Jun 7, 2022
Nov 21, 2019
Jun 7, 2022
Jun 17, 2020
Jul 22, 2019
Jun 17, 2020
Jun 3, 2022
Jun 17, 2020
Jun 17, 2020
Jun 10, 2020
Jun 17, 2020
Jun 17, 2020
Jun 20, 2020
Dec 5, 2023
Jun 17, 2020
Jun 17, 2020
Jun 3, 2022
Jun 17, 2020
Jun 3, 2022
Mar 12, 2020
Jun 3, 2022
Jun 17, 2020
Apr 26, 2020
Jun 17, 2020
Apr 26, 2020
Jun 17, 2020
Mar 19, 2018
Nov 21, 2018
Jun 3, 2022
Jun 17, 2020
Nov 19, 2021
Nov 19, 2021
Jun 7, 2022
Jun 17, 2020
Jan 2, 2024
Jun 17, 2020
Jan 2, 2024
Jun 17, 2020
Jun 7, 2022
Dec 21, 2023
Apr 26, 2020
Dec 21, 2023
Jun 7, 2022
Dec 21, 2023
Apr 26, 2020
Dec 21, 2023
Nov 21, 2018
Jan 2, 2024
Jun 17, 2020
Jan 2, 2024
Oct 4, 2022
Jan 2, 2024
Jan 2, 2024
Jun 7, 2022
Jun 17, 2020
Jan 2, 2024
Jun 17, 2020
Feb 7, 2019
Jun 7, 2022
Mar 18, 2020
Apr 26, 2020
Mar 30, 2020
Apr 26, 2020
Dec 5, 2020
Apr 26, 2020
Mar 30, 2020
Jan 2, 2024
Jun 17, 2020
Jun 7, 2022
Nov 21, 2018
Dec 5, 2023
Jun 17, 2020
Jun 7, 2022
Oct 4, 2022
Mar 18, 2018
Jun 17, 2020
Jun 23, 2020
Jun 23, 2020
Apr 26, 2020
Jun 17, 2020
Dec 5, 2023
Jun 17, 2020
Jun 7, 2022
Mar 1, 2021

Repository files navigation

Build Status

Mnemonist

Mnemonist is a curated collection of data structures for the JavaScript language.

It gathers classic data structures (think heap, trie etc.) as well as more exotic ones such as Buckhard-Keller trees etc.

It strives at being:

  • As performant as possible for a high-level language.
  • Completely modular (don't need to import the whole library just to use a simple heap).
  • Simple & straightforward to use and consistent with JavaScript standard objects' API.
  • Completely typed and comfortably usable with Typescript.

Installation

npm install --save mnemonist

Documentation

Full documentation for the library can be found here.

Classics

Low-level & structures for very specific use cases

Information retrieval & Natural language processing

Space & time indexation

Metric space indexation

Probabilistic & succinct data structures

Utility classes


Note that this list does not include a Graph data structure, whose implementation is usually far too complex for the scope of this library.

However, we advise the reader to take a look at the graphology library instead.

Don't find the data structure you need? Maybe we can work it out together.

Contribution

Contributions are obviously welcome. Be sure to lint the code & add relevant unit tests.

# Installing
git clone [email protected]:Yomguithereal/mnemonist.git
cd mnemonist
npm install

# Linting
npm run lint

# Running the unit tests
npm test

License

MIT