JSPM

better-cue-parser

0.3.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14
  • Score
    100M100P100Q60499F
  • License MIT

A simple but better js library to parse cue sheet

Package Exports

  • better-cue-parser

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (better-cue-parser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Better Cue Parser

Based on justlaputa/cue-parser, add some enhancements to make cue parser better, in browser and node.

Original

cue-parser is a cue-sheet parser library written for nodejs.

Most of the code is inspired by cue-go

How to use

Add cue-parser as a dependency to your project using npm:

npm install better-cue-parser

or yarn:

yarn add better-cue-parser

Use it in your node source code

const parser = require('better-cue-parser');

const cuesheet = parser.parse(data, encoding);

console.log(cuesheet.performer);
console.log(cuesheet.files);
console.log(cuesheet.files[0].tracks);

References