multimedia-helper

1.0.9 • Public • Published

multimedia

Simple Multimedia helper Api

npm version GitHub version

NPM NPM

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install multimedia-helper --save

Usage

var mm = require('multimedia-helper')

mm.mediainfo(filepath, function(err, mediainfo){ assert.ifError(err);

console.log(mediainfo);

});

Specify type:

mm.Video(filepath).info(function(err, info){ assert.ifError(err);

console.log(info);

});

mm.Audio(filepath).info(function(err, info){ assert.ifError(err);

console.log(info);

});

Detection:

mm(filepath, function(err, multimedia){ assert.ifError(err);

var info = multimedia.info();

console.log(info);

});

Issues

TODO

Dependencies

None

Dev Dependencies

None

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i multimedia-helper

Weekly Downloads

5

Version

1.0.9

License

MIT

Last publish

Collaborators

  • jjtortosa