1.0.54 • Published 1 month ago

@tanem/mtt v1.0.54

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

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

1.0.54

1 month ago

1.0.53

3 months ago

1.0.52

5 months ago

1.0.39

10 months ago

1.0.38

10 months ago

1.0.40

9 months ago

1.0.44

8 months ago

1.0.43

8 months ago

1.0.42

9 months ago

1.0.41

9 months ago

1.0.48

7 months ago

1.0.47

7 months ago

1.0.46

8 months ago

1.0.45

8 months ago

1.0.49

7 months ago

1.0.51

6 months ago

1.0.50

6 months ago

1.0.37

11 months ago

1.0.36

11 months ago

1.0.33

12 months ago

1.0.32

12 months ago

1.0.31

1 year ago

1.0.35

11 months ago

1.0.34

12 months ago

1.0.25

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.30

1 year ago

1.0.24

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.23

1 year ago

1.0.19

1 year ago

1.0.20

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.9

1 year ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.11

1 year ago

1.0.12

1 year ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago