@mizdra/gen3-jpn-pokedex
TypeScript icon, indicating that this package has built-in type declarations

2.2.1 • Public • Published

gen3-jpn-pokedex

日本語ポケモン図鑑クラスです。

特徴

  • TypeScriptによる型補完。
  • 第三世代のみ対応。

インストール

$ npm install @mizdra/gen3-jpn-pokedex
// ES5 import
var pokedex = require('@mizdra/gen3-jpn-pokedex');

// ES6 import
import pokedex from '@mizdra/gen3-jpn-pokedex';

let poke = pokedex.filter(poke => poke.nationalId === 1);
console.log(poke[0].name); // => 'フシギダネ'

ビルド

$ git clone https://github.com/mizdra/gen3-jpn-pokedex.git
$ cd gen3-jpn-pokedex
$ npm install -g  mocha gulp dtsm
$ npm install
$ dtsm install
$ gulp

テスト

$ npm test

依存モジュール

Dependents (0)

Package Sidebar

Install

npm i @mizdra/gen3-jpn-pokedex

Weekly Downloads

1

Version

2.2.1

License

MIT

Last publish

Collaborators

  • mizdra