PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/stream-json/utils

Просмотр файла: withParser.js

'use strict';

const {chain} = require('stream-chain');

const Parser = require('../Parser');

const withParser = (fn, options) =>
  chain([new Parser(options), fn(options)], Object.assign({}, options, {writableObjectMode: false, readableObjectMode: true}));

module.exports = withParser;

Выполнить команду


Для локальной разработки. Не используйте в интернете!