1liner:用一小段代码查询JSON

时间:2024-04-06 15:28:27
【文件属性】:

文件名称:1liner:用一小段代码查询JSON

文件大小:351KB

文件格式:ZIP

更新时间:2024-04-06 15:28:27

JavaScript

1台 1Liner或简称L是超快速的(10000个查询执行需要150毫秒)和轻量级的(最小<35 kb最小)JavaScript库,适用于浏览器或Node.js,它允许使用一小段代码查询JSON。 为什么? 从JSON提取数据可能很麻烦,并且总是需要太多代码。 能够用一条简单的线从JSON快速获取数据不是很好吗? const L = require ( '1liner' ) ; const obj = new L ( { propose : { address : { line_1 : "39944 Morissette Trail" , line_2 : "Gulgowski Wells" , postcode : "AB13RT" , county : "Glo


【文件预览】:
1liner-master
----.travis.yml(101B)
----index.js(9KB)
----package.json(1KB)
----__tests__()
--------index.spec.js(12KB)
----LICENSE(34KB)
----package-lock.json(471KB)
----dist()
--------index.js(197KB)
--------index.js.map(248KB)
----__mocks__()
--------quote.json(4KB)
----.gitignore(903B)
----README.md(11KB)
----.cache()
--------9e()
--------a3()
--------d9()
--------82()
--------42()
--------97()
--------c4()
--------ee()
--------f2()
--------d3()
--------b8()

网友评论