pegjs-require-import
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "pegjs-require-import", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "PEG.js Require Extension", | ||
@@ -9,2 +9,6 @@ "main": "src/index.js", | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/phuongduyphan/pegjs-require-import" | ||
}, | ||
"keywords": [ | ||
@@ -19,3 +23,3 @@ "pegjs", | ||
"author": "Duy Phan <phuongduyphan@gmail.com> (https://github.com/phuongduyphan)", | ||
"license": "ISC", | ||
"license": "MIT", | ||
"dependencies": { | ||
@@ -22,0 +26,0 @@ "lodash": "^4.17.15", |
# [PEG.js](https://github.com/pegjs/pegjs) Require Extension | ||
A simple require extension for PEG.js that supports importing syntax | ||
A simple require extension for PEG.js that supports importing syntax | ||
*If you're using webpack, it's recommended to use [pegjs-import-loader](https://github.com/phuongduyphan/pegjs-import-loader)* | ||
@@ -33,2 +35,5 @@ ## Install | ||
``` | ||
*Import syntax is the same as in [pegjs-import-loader](https://github.com/phuongduyphan/pegjs-import-loader)* | ||
### Generate a parser in JS code using require | ||
@@ -35,0 +40,0 @@ ```js |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
7063
6
54
1