# jsontrie-cli

> A cli tool to compile a trie JSON object from an array of JSON objects.

Latest version **1.0.0** (published 2019-12-15) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install jsontrie-cli
pnpm add jsontrie-cli
yarn add jsontrie-cli
bun add jsontrie-cli
```

Provides the command `jsontrie`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-12-15 |
| First published | 2019-12-15 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 39.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Tyler Martinez |
| Maintainers | tylerm2320 |
| Keywords | trie, json, cli |

## Links

- npm: https://www.npmjs.com/package/jsontrie-cli
- Repository: https://github.com/TylerMartinez/JSONTrie
- Homepage: https://github.com/TylerMartinez/JSONTrie#readme
- Issues: https://github.com/TylerMartinez/JSONTrie/issues
- npm.io page: https://npm.io/package/jsontrie-cli

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-12-15

## README

# 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>`

---
_Source: https://npm.io/package/jsontrie-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
