Notify President Madagascar

    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
    

    Install

    npm i xmp-marker

    DownloadsWeekly Downloads

    1

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • andrewconnell