UNPKG
haha-dict-tree
Version:
latest (0.0.2)
0.0.2
0.0.1
因为最近常用到字典树,所以自己封装一个易用的字典树库。 代码量很少,90行,使用 generator 来遍历字典树,写起来很舒服。
haha-dict-tree
/
package.json
20 lines
(19 loc)
•
302 B
JSON
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
"name"
:
"haha-dict-tree"
,
"version"
:
"0.0.2"
,
"description"
:
""
,
"main"
:
"index.js"
,
"scripts"
:
{
"test"
:
"ava test"
}
,
"keywords"
:
[
"dictionary"
,
"字典树"
,
"tree"
]
,
"devDependencies"
:
{
"ava"
:
"^0.19.1"
}
,
"author"
:
"jinhai.wang"
,
"license"
:
"MIT"
}