2.5.0 • Published 3 years ago

goodcodes-parser v2.5.0

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

goodcodes-parser

travis build Coverage Status node (tag)

Description

This tools extracts GoodCodes from ROM names and returns a structured dataset.

Installation

npm install --save goodcodes-parser

or

yarn add goodcodes-parser

Usage

import { parse } from 'goodcodes-parser';
const result = parse('Zoop (U) [!].gen');
console.log(result);
{
    "file": "Zoop (U) [!].gen",
    "cleaned": "Zoop.gen",
    "rom": "Zoop",
    "codes": {
        "countries": [
            { "code": "U", "name": "USA" }
        ],
        "good": true
    }
}

Have a look on the typing or on the tests to see the result keys.

2.5.0

3 years ago

2.4.0

5 years ago

2.3.0

5 years ago

2.2.0

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.1

5 years ago