README
TrieMap
A fast trie map data structure.
Github
NPM
Travis CI
Donate
Installation
This library is published in the NPM registry and can be installed using any compatible package manager.
NPM
npm install @bemoje/trie-map
npm install --save @bemoje/trie-map
npm install --save-dev @bemoje/trie-map
YARN
yarn add @bemoje/trie-map
CDN
Get minified ES6 UMD bundle from either of the popular CND's, UNPKG or JSDelivr.
<!-- For UNPKG use the code below. -->
<script src="https://unpkg.com/@bemoje/trie-map"></script>
<!-- For JSDelivr use the code below. -->
<script src="https://cdn.jsdelivr.net/npm/@bemoje/trie-map"></script>
<script>
// UMD module is exposed through the "TrieMap" global variable.
console.log(TrieMap);
</script>
Usage
// default export
import TrieMap from '@bemoje/trie-map'
// named exports
import {TrieMap} from '@bemoje/trie-map'
See also the usage examples.
Documentation
Distribution
This library is written in TypeScript compiled to ES6 JavaScript.
ES6 Module Bundles
Type Declarations
See the declarations entry point.
Tests
Tests are written with Jest. To run tests:
npm run test
Issues
Please let me know of any bugs or issues.
Contribute
Contributors are welcome to open a pull request.
License
Released under the MIT License.