
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
JSON plugin for pf, the fast and extensible command-line data (e.g. JSON) processor and transformer
@pfx/json
is a JSON plugin for pf
, the fast and extensible command-line data (e.g. JSON) processor and transformer.
See the pf
github repository for more details!
:ok_hand:
@pfx/json
comes preinstalled inpf
. No installation necessary. If you still want to install it, proceed as described below.
@pfx/json
is installed in ~/.pfrc/
as follows:
npm install @pfx/json
The plugin is included in ~/.pfrc/index.js
as follows:
const json = require('@pfx/json')
module.exports = {
plugins: [json],
context: {},
defaults: {}
}
For a much more detailed description, see the .pfrc
module documentation.
This plugin comes with the following pf
extensions:
Description | |
---|---|
jsonObj lexer | Searches the data for JSON objects and returns each object as a token. All data between objects is dropped. This is useful in a streaming context, or when parsing files containing one big JSON list of JSON objects. |
json parser | Parses data into JSON. Uses JSON.parse internally. |
json marshaller | Serializes transformed JSON into JSON using JSON.stringify. |
Please report issues in the tracker!
@pfx/json
is MIT licensed.
FAQs
JSON plugin for pf, the fast and extensible command-line data (e.g. JSON) processor and transformer
We found that @pfx/json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.