Git Product home page Git Product logo

mtt's Introduction

mtt

npm version build status coverage status npm downloads minzipped size

.(m)3u8 (t)o (t)racklist.

Background

As a rekordbox user that DJs with USBs, I often want to upload tracklists to sites such as Mixcloud or Soundcloud. One way to do this is to export a USB playlist from rekordbox as a *.m3u8 file, then use this library to generate a tracklist.

Usage

CLI

Usage: mtt [options] <file>

.(m)3u8 (t)o (t)racklist

Arguments:
  file           .m3u8 file to convert to tracklist

Options:
  -V, --version  output the version number
  -h, --help     display help for command

API

const fs = require('fs/promises');
const path = require('path');
const { mtt } = require('@tanem/mtt');

(async () => {
  try {
    const result = await mtt(path.join(__dirname, 'test.m3u8'));
    await fs.writeFile(path.join(__dirname, 'tracklist.txt'), result, 'utf-8');
  } catch (error) {
    console.error(error);
  }
})();

The above example can be run using npm run example.

Installation

CLI

$ npm i -g @tanem/mtt

API

$ npm i @tanem/mtt

License

MIT

mtt's People

Contributors

renovate[bot] avatar tanem avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

iotopia

mtt's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • Lock file maintenance

Pending Status Checks

These updates await pending status checks. To force their creation now, click the checkbox below.

  • Update dependency @types/node to v20.12.13

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/ci.yml
  • styfle/cancel-workflow-action 0.12.1
  • actions/checkout v4
  • actions/setup-node v4
  • codecov/codecov-action v4
npm
package.json
  • commander ^12.1.0
  • @tsconfig/node16 16.1.3
  • @types/jest 29.5.12
  • @types/node 20.12.12
  • @typescript-eslint/eslint-plugin 7.11.0
  • @typescript-eslint/parser 7.11.0
  • eslint 8.57.0
  • eslint-config-prettier 9.1.0
  • eslint-plugin-simple-import-sort 12.1.0
  • jest 29.7.0
  • prettier 3.2.5
  • shx 0.3.4
  • tanem-scripts 7.0.27
  • ts-jest 29.1.4
  • typescript 5.4.5
nvm
.nvmrc

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.