Skip to content

ming-codes/babel-plugin-pegjs-inline-precompile

Repository files navigation

babel-plugin-pegjs-inline-precompile

Build Status Greenkeeper badge

Babel plugin for inline precompile of pegjs expression

Install

$ npm install babel-plugin-pegjs-inline-precompile

Usage

.babelrc

{
  "plugins": ["babel-plugin-pegjs-inline-precompile"]
}
import peg from 'pegjs-inline-precompile';

export default {
  expression: peg`
    Value = .+
  `,
};

License

MIT © ming-codes

About

Babel plugin for inline precompile of pegjs expression

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published