New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

idyll-grammar

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idyll-grammar - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "idyll-grammar",
"version": "1.0.0",
"version": "1.0.1",
"description": "A nearley.js generated grammar for Idyll",

@@ -5,0 +5,0 @@ "main": "grammar.js",

# idyll-grammar
A nearley.js generated grammar for Idyll
## Install
```
npm install idyll-grammar
```
## Usage
```js
const grammar = require('idyll-grammar');
const nearley = require("nearley");
// Create a Parser object from our grammar.
const p = new nearley.Parser(grammar.ParserRules, grammar.ParserStart);
// Parse something
p.feed(inputString);
const results = p.results;
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc