Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> web >> node-jsonstream
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: node-jsonstream  ]

软件包: node-jsonstream (1.3.1-1)

streaming JSON.parse and stringify

JSONStream.parse(pattern, map) provide a function that can be used to map or filter the json output. map is passed the value at that node of the pattern, if map return non-nullish (anything but null or undefined) that value will be emitted in the stream. If it returns a nullish value, nothing will be emitted.

JSONStream also emits 'header' and 'footer' events, the 'header' event contains anything in the output that was before the first match, and the 'footer', is anything after the last match.

其他与 node-jsonstream 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 node-jsonstream

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 7.8 kB27 kB [文件列表]