Nitro Powered Motorcycles

    ism-parser

    0.3.0 • Public • Published

    ISM Parser

    Library used for parsing ISM manifest files.

    Example usage:

    const createParser = require('ism-parser');
    const { readFileSync, writeFileSync } = require('fs');
    
    // Assets can be found in libary's test/assets directory
    const manifestString = readFileSync(__dirname + '/assets/720p_H264_AAC_encrypted.ism').toString();
    const manifestUrl = 'http://playready.directtaps.net/smoothstreaming/TTLSS720VC1/To_The_Limit_720.ism/Manifest';
    
    const parser = createParser();
    const result = parser.parseManifest(manifestUrl, manifestString)
    writeFileSync('output.json', JSON.stringify(result, null, 2));

    Install

    npm i ism-parser

    DownloadsWeekly Downloads

    2

    Version

    0.3.0

    License

    ISC

    Unpacked Size

    54.2 kB

    Total Files

    20

    Last publish

    Collaborators

    • batuzz