mod-meta

0.1.1 • Public • Published

Tracker mod metadata for .mod .xm .s3m .it

Currently returns only title.

Installation

$ npm install mod-meta

Usage

var mm = require('mod-meta');
 
// sync
var mdata = mm.getModMetaSync('pathToMod');
mdata !== null
    ? console.log('Mod title: ', mdata.title)
    : console.log('Error');
 
 
// async
mm.getModMeta('pathToMod', function (error, mdata) {
    if (!error) console.log('Mod title: ', mdata.title);
});
 

Tests

$ npm test

Package Sidebar

Install

npm i mod-meta

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • onikienko