xmp-marker

0.1.1 • Public • Published

xmp-marker

Extracts marker objects from the Adobe Extensible Metadata Platform (XMPTM) file type.

Usage

var XmpMarker = require('xmp-marker');
var xmpMarker = new XmpMarker();
 
var xmpFile = __dirname +'/test/samples/three-markers.xmp';
xmpMarker.getMarkers(xmpFile)
  .then(function(markers){
      markers.forEach(function(marker, index){
          console.log('marker #' + index);
          console.log('  content: ' + marker.content);
          console.log('  timecode: ' + marker.timecode);
        });
    });

For more usage details, see the tests found in the /test folder. To execute the tests, install Mocha globally...

npm install mocha -g

... then run from the command line using NPM...

npm test

... or mocha directly from within the root of the source of this repo:

mocha

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i xmp-marker

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • andrewconnell