trie-project
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"name": "trie-project", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A CLI for my trie project", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -213,3 +213,3 @@ const axios = require('axios') | ||
} | ||
console.log(trie.root); | ||
console.log(JSON.stringify(trie.root)); | ||
}).catch((err) => { | ||
@@ -222,3 +222,3 @@ console.log(err); | ||
console.log("1. Add keyword to the trie, command: trie add [keyword]"); | ||
console.log("2. Delete keyword from the trie, command: trie del [keyword]"); | ||
console.log("2. Delete keyword from the trie, command: trie delete [keyword]"); | ||
console.log("3. search for keyword in trie, command: trie has [keyword]"); | ||
@@ -228,5 +228,4 @@ console.log("4. Return list of autocomplete suggestion based on an input prefix, command: trie find [prefix]"); | ||
console.log("6. Display the tree, command: trie display"); | ||
console.log("7. Quit, command: trie quit"); | ||
break; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7694
199