【文件属性】:
文件名称:Dicset:一组字典(映射)
文件大小:8KB
文件格式:ZIP
更新时间:2021-07-03 11:58:52
JavaScript
Dicset
一组字典(映射)
由 Vladimir Neverov 于 2014 年撰写
用法
构造函数将字典文件的路径作为第一个参数,将设置对象作为第二个参数。
字典文件具有类似 INI 的语法:
[dicname]
from1 to1 comment1
from2 to2 comment2
"from 3 value" "to 3 value" a long and winding comment
[dicname2]
...
现在有两种设置可以识别:
- def - a default value that is returned when no dictionary is found
- xml2js - boolean, if true - do output in xml2js style (default is old-fashioned n
【文件预览】:
Dicset-master
----README.md(2KB)
----LICENSE(1KB)
----test.dic(279B)
----package.json(3KB)
----index.js(8KB)
----test.js(3KB)