1.0.3 • Published 5 years ago

dji-xmetaparser v1.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

DJI XMP Metadata Parser

Build Status Coverage Status License: MIT JavaScript Style Guide

Get the most out of your DJI Footage

Swiss tool for extracting XMP metadata from DJI drones.

Features

Right now, it takes some text-input and parses the attributes of <rdf:Description/> You care about loading the image/jpg, XMetaParser does the rest.

Promise-based.

Example

import { parseText } from 'dji-xmetaparser'
fetch('link/to/your.jpg')
    .then(response => response.blob())
    .then(blob => blob.text())
    .then(text => parseText(text))
    .then(metadata => {
        console.log(metadata)
    })
    .catch()
    .finally()

Commands

  • npm run clean - Remove lib/ directory
  • npm test - Run tests with linting and coverage results.
  • npm test:only - Run tests without linting or coverage.
  • npm test:watch - You can even re-run tests on file changes!
  • npm test:prod - Run tests with minified code.
  • npm run test:examples - Test written examples on pure JS for better understanding module usage.
  • npm run lint - Run ESlint with standard-config
  • npm run cover - Get coverage report for your code.
  • npm run build - Babel will transpile ES6 => ES5 and minify the code.
  • npm run prepublish - Hook for npm. Do all the checks before publishing your module.

Installation

  • yarn add dji-xmetaparser
  • npm i dji-xmetaparser --save

License

MIT © Florian Senn

Thanks

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.1.5-alpha

5 years ago

0.1.4-alpha

5 years ago

0.1.3-alpha

5 years ago

0.1.2-alpha

5 years ago

0.0.1

5 years ago