search-query-parser:用于高级搜索查询语法的简单解析器

时间:2021-05-17 08:59:46
【文件属性】:
文件名称:search-query-parser:用于高级搜索查询语法的简单解析器
文件大小:66KB
文件格式:ZIP
更新时间:2021-05-17 08:59:46
nodejs javascript search search-interface JavaScript 搜索查询语法分析器 用于高级搜索查询语法的简单解析器。 它解析这样的字符串: from:hi@retrace.io,foo@gmail.com to:me subject:vacations date:1/10/2013-15/04/2014 photos 并将其变成这样的对象: { from : [ 'hi@retrace.io' , 'foo@gmail.com' ] , to : 'me' , subject : 'vacations' , date : { from : '1/10/2013' , to : '15/04/2014' } , text : 'photos' , offsets : [ { keyword : 'from' , value : 'hi@retrace.io,foo@gmail.com'
【文件预览】:
search-query-parser-master
----.gitignore(535B)
----tsconfig.json(488B)
----README.md(6KB)
----test()
--------mocha.css(4KB)
--------test.js(21KB)
--------index.html(475B)
--------mocha.js(121KB)
----docs()
--------README.md(99B)
--------interfaces()
--------modules()
----LICENSE(1KB)
----package.json(769B)
----tslint.json(34B)
----index.js(55B)
----index.d.ts(860B)
----.travis.yml(39B)
----Makefile(97B)
----lib()
--------search-query-parser.js(10KB)
----package-lock.json(72KB)

网友评论