npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

enolib

0.5.0 • Public • Published

enolib

The cross-language eno standard library

Installation

npm install enolib

Getting started

A minimal example to read an eno document directly from a string with enolib:

const enolib = require('enolib');
 
const document = enolib.parse('Greeting: Hello World');
 
console.log( document.field('Greeting').requiredStringValue() );  // prints 'Hello World!'

Documentation

Available at eno-lang.org/enolib.

Beta notice

enolib is currently in beta, if you encounter any issues please report them in the issue tracker - thank you for your help!

Compatibility notice

enolib supports the not yet completely ratified final specification for eno. You are encouraged to use it in your projects already, thereby helping us to gather insights on whether there are any remaining flaws in the proposed final specifications (you're very welcome to report such issues if you encounter them).

From a practical point of view there are not likely any major changes ahead. Unless you build your application around edge cases of the exotic language features you should be perfectly safe and future-proof.

install

npm i enolib

Downloadsweekly downloads

61

version

0.5.0

license

MIT

homepage

eno-lang.org

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability