0.1.1 • Published 6 years ago

mecu-utils v0.1.1

Weekly downloads
1
License
GPL-3.0
Repository
github
Last release
6 years ago

MecuUtils

Utility for MeCu


How to use

Require this package via npm, then:

const MecuUtils = require('mecu-utils');

IMPORTANT: This package uses Destructuring assignments. These are supported out of the box only starting with Node V6. You can check compatibility through this table.

After that you can use the following functions:

Parse text file entry.

const fs = require('fs');

fs.readFile(someFile.path, 'utf8', function (error, data) {
  var entries = MecuUtils.parse(data);
}