0.0.2 • Published 4 years ago

asn2json v0.0.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

asn2json

Javascript ASN.1 schema parser with SMI MACRO extentions for SNMP MIB's

How to install

Install with NPM

npm install asn2json

Install with YARN

yarn add asn2json

How to use it

var asn2json = require('asn2json');
var fs = require('fs');

// Create a new instance of asn2json
var asn = new asn2json();

var data = fs.readFileSync(`[YOUR MIB FILE PATH]`).toString();

var json = asn.parse(data);

console.log(json);
0.0.2

4 years ago

0.0.1

6 years ago