Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> web >> node-jsonstream
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: node-jsonstream  ]

パッケージ: node-jsonstream (1.3.5-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 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: node-jsonparse
    Pure javascript JSON streaming parser for node.js
  • dep: node-through (<< 3)
    simplified stream construction
  • dep: nodejs (>= 6)
    evented I/O for V8 javascript - runtime executable
    以下のパッケージによって提供される仮想パッケージでもあります: node-pegjs

node-jsonstream のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
all 8.3 kB27 kB [ファイル一覧]