@pfx/sample

0.6.4 • Public • Published

@pfx/sample teaser

@pfx/sample is a sample plugin for pf, the fast and extensible command-line data (e.g. JSON) processor and transformer.

See the pf github repository for more details!

node version npm version license PRs Welcome linux unit tests status macos unit tests status windows unit tests status

Installation

@pfx/sample is installed in ~/.pfrc/ as follows:

npm install @pfx/sample

The plugin is included in ~/.pfrc/index.js as follows:

const sample = require('@pfx/sample')

module.exports = {
  plugins:  [sample],
  context:  {},
  defaults: {}
}

For a much more detailed description, see the .pfrc module documentation.

Extensions

This plugin comes with the following pf extensions:

Description
sample lexer A sample lexer showcasing the structure and contents of a pf lexer.
sample parser A sample parser showcasing the structure and contents of a pf parser.
sample applicator A sample applicator showcasing the structure and contents of a pf applicator.
sample marshaller A sample marshaller showcasing the structure and contents of a pf marshaller.

Reporting Issues

Please report issues in the tracker!

License

@pfx/sample is MIT licensed.

Package Sidebar

Install

npm i @pfx/sample

Weekly Downloads

0

Version

0.6.4

License

MIT

Unpacked Size

84.1 kB

Total Files

30

Last publish

Collaborators

  • yordle