nes-db
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

nes-db

A database of NES games, with information about their publishers, developers, release dates, and more.

Usage

Installation

npm install nes-db

Example

import nesdb from 'nes-db';

// Get all games
const games = nesdb.games;

// The game's type is:
interface Game {
  /** Array of NES cartridges for the game. */
  cartridge: Cartridge[];
  /** Optional peripherals information. */
  peripherals?: Peripherals;
  /** Name of the game. */
  name: string;
  /** Optional alternate name of the game. */
  altname?: string;
  /** Class of the game. */
  class: string;
  /** Optional subclass information. */
  subclass?: string;
  /** Catalog number of the game. */
  catalog: string;
  /** Publisher of the game. */
  publisher: string;
  /** Developer of the game. */
  developer: string;
  /** Optional porting developer information. */
  portdeveloper?: string;
  /** Region where the game is released. */
  region: string;
  /** Number of players supported by the game. */
  players: number;
  /** Release date of the game. */
  date: string;
  /** Optional revision information. */
  revision?: string;
}

Credits

License

nes-db is released under the MIT License. See the bundled LICENSE file for details.

ACKNOWLEDGEMENT

The data for this project is sourced from nesdir. Great thanks to @rdanbrook's work.

Readme

Keywords

Package Sidebar

Install

npm i nes-db

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

10.9 MB

Total Files

6

Last publish

Collaborators

  • iamjjc