1.0.1 • Published 5 years ago

hierarchy-searcher v1.0.1

Weekly downloads
1
License
ISC
Repository
github
Last release
5 years ago

Hierarchy Searcher

A simple npm script to search through Googles 600 box hierarchy.

Example

const hierarchySearcher = require("hierarchy-searcher");

let word = "Dog";
let result = hierarchySearcher(word, true);
console.log(`${word}: `, result);

Which returns:

Dog:  [ [ 'dog', 'carnivore', 'mammal', 'animal', 'entity' ] ]
1.0.1

5 years ago

1.0.0

5 years ago