Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

album-name-normalizer

guytepper287MIT1.1.0

Remove descriptors from album names.

readme

Album Name Normalizer

Build Status Coverage Status

Remove descriptors from album names.

input: Nevermind (Remastered)
output: Nevermind

input: Channel Orange (Explicit Version)
output: Channel Orange

input: The Queen is Dead (Deluxe Edition)
output: The Queen is Dead

Installation

npm install album-name-normalizer

Alternatively, you can use yarn.

yarn add album-name-normalizer

Usage

const removeDescriptors = require('album-name-normalizer');

removeDescriptors('Nevermind (Remastered)'); // Nevermind
removeDescriptors('Channel Orange (Explicit Version)'); // Channel Orange
removeDescriptors('The Queen is Dead (Deluxe Edition)'); // The Queen is Dead