Skip to content
This repository has been archived by the owner on May 16, 2020. It is now read-only.

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