Releases: cto-af/unicode-trie
Releases · cto-af/unicode-trie
Browser support
Updated dependencies
Updated all dependencies.
toModule
Builder now includes a toModule()
function which compacts the trie, converts it to a buffer, base64-encodes the buffer, and embeds it into a module that will recreate the Trie at runtime without needing to read another file. The module is returned as a string for you to save to a file.
getString
Initial version
- Dependencies removed in favor of node built-ins (use browserify bits if needed in the browser)
- Compression switched to a single pass of brotli from double pass of deflate (see #10)
- Typescript types built in
- Switch to ESM module
- Ability to store mapped strings with trie
- An example (see #13)
- Linting
- Small amounts of test coverage