文件名称:json-readdir-stream:levelup的json文件目录的createReadStream
文件大小:7KB
文件格式:ZIP
更新时间:2024-06-02 00:14:55
JavaScript
json-readdir-stream 像用于JSON文件的目录 例子 var path = require ( 'path' ) var fs = require ( 'fs' ) var jrs = require ( 'json-readdir-stream' ) // takes a directory and an options object, options shown with defaults var stream = jrs ( path . join ( __dirname , 'json-files' ) , { start : '' , // start at the beginning end : '' , // ..end at the end reverse : false , // stream in alphabetical order
【文件预览】:
json-readdir-stream-master
----.eslintrc(28B)
----package.json(990B)
----.travis.yml(71B)
----LICENSE(1KB)
----index.js(3KB)
----README.md(2KB)
----test()
--------json-dir()
--------index.js(7KB)