You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

enojs

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enojs

JavaScript library for parsing, loading and inspecting eno documents

0.18.0
latest
Source
npmnpm
Version published
Weekly downloads
9
-30.77%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

eno

FAQs

Package last updated on 15 Mar 2019

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