Trie implementation in javascript, with insert and search functions
npm install trie-data-structure --save
var trie = require('trie')
trie.build(["apple","orange","yellow","black"]);
console.log('search for part word "app", returns : ' + trie.search("app")[0]);
npm test
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
- 1.0.4 Initial release