This package has been deprecated

Author message:

The eno notation language is en route to its final version and the enolib and enotype packages are replacing enojs (EOL: 2020), please visit https://eno-lang.org to read up on all changes.

enojs

0.18.0 • Public • Published

enojs

JavaScript library for parsing, loading and inspecting eno documents

End of life notice

The eno notation language is en route to its final version and enojs will reach end of life by 2020.
enojs is superseded by the enolib (core library) and enotype (type library) packages.

Please visit https://eno-lang.org to read up on all changes.

Installation

npm install enojs

Getting started

Create an eno document, for instance intro.eno:

Greeting: Hello World!

A minimal example to read this file with enojs:

const eno = require('enojs');
const fs = require('fs');
 
const input = fs.readFileSync('intro.eno', 'utf-8');
 
const document = eno.parse(input);
 
console.log( document.field('Greeting') );  // prints 'Hello World!'

Complete documentation and API reference

See eno-lang.org/javascript

Dependents (2)

Package Sidebar

Install

npm i enojs

Weekly Downloads

2

Version

0.18.0

License

MIT

Unpacked Size

170 kB

Total Files

26

Last publish

Collaborators

  • simonrepp