Giter VIP home page Giter VIP logo

oakdex-pokedex's People

Contributors

dependabot-support avatar jalyna avatar pragtob avatar reconbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

oakdex-pokedex's Issues

Include Alolan forms as variations

I expect to find under (as an example)

> Oakdex::Pokedex::Pokemon.find('Vulpix').variations
 => [] 

the alolan form information. Is this going to be added? Thank you!

Add custom data / fakemon support

E.g.

json = File.read('my_pokemon.json')
Oakdex::Pokedex::Pokemon.valid?(json) #=> true
Oakdex::Pokedex::Pokemon.add_custom(json) # raises error if invalid

Garchomp mega error

As you can see, you get Mega Venusaur info for Mega Garchomp:

Oakdex::Pokedex::Pokemon.find('Garchomp').mega_evolutions
 => [{"types"=>["Grass", "Poison"], "ability"=>"Thick Fat", "mega_stone"=>"Venusaurite", "height_us"=>"6'03\"", "height_eu"=>"1.9 m", "weight_us"=>"209.4 lbs.", "weight_eu"=>"95.0 kg", "base_stats"=>{"hp"=>108, "atk"=>170, "def"=>115, "sp_atk"=>120, "sp_def"=>95, "speed"=>92}}] 

Add hex colors to types

Normal Type: A8A77A
Fire Type:  EE8130
Water Type:  6390F0
Electric Type:  F7D02C
Grass Type:  7AC74C
Ice Type:  96D9D6
Fighting Type:  C22E28
Poison Type:  A33EA1
Ground Type:  E2BF65
Flying Type:  A98FF3
Psychic Type:  F95587
Bug Type:  A6B91A
Rock Type:  B6A136
Ghost Type:  735797
Dragon Type:  6F35FC
Dark Type:  705746
Steel Type:  B7B7CE
Fairy Type:  D685AD

Error: ENFILE: file table overflow

Running the example code from the readme doesn't work

const oakdexPokedex = require('oakdex-pokedex');

console.log(oakdexPokedex.findPokemon('Eevee', function (p) {
    console.log(p.names); // Eeevee 
}));
(...)/node_modules/oakdex-pokedex/src/oakdex_pokedex.js:24
          throw err;
          ^

Error: ENFILE: file table overflow, open '(...)/node_modules/oakdex-pokedex/data/pokemon/burmy.json'

It seems that MacOS doesn't allow opening more than 256 files (meteor/meteor#8057)

OS X El Capitan 10.11.6 (15G31)
node v8.6.0
npm 5.3.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.