Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@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.

Install

npm i @pfx/sample

DownloadsWeekly Downloads

1

Version

0.6.4

License

MIT

Unpacked Size

84.1 kB

Total Files

30

Last publish

Collaborators

  • avatar