Skip to content

tpca/mecu-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

Releases

No releases published

Packages

No packages published