0.2.12 • Published 12 months ago

media-filename-parser v0.2.12

Weekly downloads
-
License
ISC
Repository
github
Last release
12 months ago

media-filename-parser

Extracts media information from filename

  • Title

  • Season

  • Episode

  • Special episodes (nced, ncop, extra, oad)

  • Year

Feel free to add your cases to ./src/test-names.json

install

npm i media-filename-parser

example use

import {
  episode as getEpisode,
  season as getSeason,
  title as getTitle,
} from 'media-filename-parser';

const fileName = "NieR Automata Ver1.1a S01 1080p Dual Audio WEBRip DD+ x265-EMBER/S01E01-or not to [B]e [268B933B].mkv";
const title = getTitle(fileName); // NieR Automata Ver1 1a
const season = getSeason(fileName); // 1
const { episode } = getEpisode(fileName); // 1
...
0.2.12

12 months ago

0.2.11

12 months ago

0.2.10

12 months ago

0.2.9

12 months ago

0.2.8

12 months ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.1.8

1 year ago

0.1.7

1 year ago

0.1.4

1 year ago

0.1.2

1 year ago

0.1.1

1 year ago

0.0.31

1 year ago

0.0.30

1 year ago

0.0.29

1 year ago

0.0.27

1 year ago

0.0.26

1 year ago

0.0.25

1 year ago

0.0.24

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago