0.1.1 • Published 7 years ago

mod-meta v0.1.1

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

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

0.1.1

7 years ago

0.1.0

7 years ago