dji-xmetaparser
A XMP parser for DJI drones' metadata
Last updated 7 months ago by fsenn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install dji-xmetaparser 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.3                                ...           latest (7 months ago)

9 Versions

  • 1.0.3                                ...           7 months ago
  • 1.0.2                                ...           7 months ago
  • 1.0.1                                ...           7 months ago
  • 1.0.0                                ...           7 months ago
  • 0.1.5-alpha                                ...           7 months ago
  • 0.1.4-alpha                                ...           7 months ago
  • 0.1.3-alpha                                ...           7 months ago
  • 0.1.2-alpha                                ...           7 months ago
  • 0.0.1                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |