jsontrie-cli

1.0.0 • Public • Published

JSONTrie

A CLI tool that transforms an array of json objects to trie data structure.

I made this tool to try out making a trie for an autocomplete input that would take in Japanese kana and provide suggestions for possible kanji interpretations.

Input

An array of json objects that contain two properties, one being the key to traverse and the other being the final value. An example input is available in the repo.

Output

A trie in the form of a json object. An example output is available in the repo.

Usage

jsontrie <inputFile> <outputFile> <keyName> <valueName>

Readme

Keywords

Package Sidebar

Install

npm i jsontrie-cli

Weekly Downloads

0

Version

1.0.0

License

GPL-3.0-or-later

Unpacked Size

40.7 kB

Total Files

7

Last publish

Collaborators

  • tylerm2320