Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.01 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.01 KB

node-mediainfo

install size Code Style

Node implementation of MediaArea's MediaInfo WebAssembly binary.

Install

$ npm install --save node-mediainfo

Usage

// Using ES6 imports
import mediainfo from 'node-mediainfo';

// Using Node.js `require()`
const mediainfo = require('node-mediainfo');

async function main() {
  const result = await mediainfo('path to media file');
  console.log(result);
}

main();

Links

License

This package uses MediaInfo library, Copyright (c) 2002-2019 MediaArea.net SARL