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

archieml-peg

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

archieml-peg

Alternative parser for ArchieML using PEG (Parsing Expression Grammar)

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

archieml-peg

Parse ArchieML documents into JavaScript objects. This is an alternative implementation using PEG.js. See the code for parser and compiler. It passes all the tests from the original implementation.

Be sure to also check out the official implementation.

Installation

npm install archieml-peg

Usage

<script src="dist/archieml.js"></script>

<script type="text/javascript">
  var parsed = archieml.load("key: value");
  >> {"key": "value"}
</script>
var archieml = require('archieml-peg');
var parsed = archieml.load("key: value");
>> {"key": "value"}

Build

Instal dependencies npm install

Build gulp build

Development mode - watch for changes and build gulp watch

Testing

Open file test/indext.html in a browser or run npm test.

Keywords

FAQs

Package last updated on 08 Mar 2015

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