Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ebnf2railroad

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ebnf2railroad

EBNF to Railroad diagram

  • 1.4.0
  • npm
  • Socket score

Version published
Weekly downloads
65
decreased by-32.29%
Maintainers
1
Weekly downloads
 
Created
Source

EBNF 2 RailRoad

npm Build
Status

A command line tool to create nice documentation including railroad diagrams based on the ISO/IEC 14977 specification

Installation

npm install -g ebnf2railroad

Usage

Usage: ebnf2railroad [options] <file>

Converts an ISO/IEC 14977 EBNF file to a HTML file with SVG railroad diagrams

Options:
  -V, --version          output the version number
  -o, --target [target]  output the file to target destination.
  -q, --quiet            suppress output to STDOUT
  --validate             exit with status code 2 if ebnf document has warnings
  --title [title]        title to use for HTML document
  -h, --help             output usage information

Check the examples folder for an example input file and the generated result page.

  • EBNF ebnf2railroad examples/ebnf.ebnf --title EBNF View online
  • JSON ebnf2railroad examples/json.ebnf --title JSON View online

Licence

The code is licensed under MIT (see LICENSE file).

Acknowledgements

Keywords

FAQs

Package last updated on 03 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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