@lucasmod/pokemon.js 2.1.1 → 2.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -8,15 +8,15 @@ Esta é uma versão modificada do pacote original [pokemon.js](https://www.npmjs
8
8
  <div align="left">
9
9
  <br />
10
10
  <p>
11
- <a href="https://www.npmjs.com/package/pokemon.js"><img src="https://i.postimg.cc/Sx7sKrmx/pokemon.png" width="546" alt="pokemon.js" /></a>
11
+ <a href="https://www.npmjs.com/package/@lucasmod/pokemon.js"><img src="https://i.postimg.cc/Sx7sKrmx/pokemon.png" width="546" alt="pokemon.js" /></a>
12
12
  </p>
13
13
  <br />
14
14
  <p>
15
- <a href="https://www.npmjs.com/package/pokemon.js"><img src="https://img.shields.io/npm/v/pokemon.js.svg" alt="NPM Version" /></a>
15
+ <a href="https://www.npmjs.com/package/@lucasmod/pokemon.js"><img src="https://img.shields.io/npm/v/pokemon.js.svg" alt="NPM Version" /></a>
16
16
  <a href="https://www.npmjs.com/package/pokemon.js"><img src = "https://img.shields.io/npm/dt/pokemon.js.svg" alt="NPM Downloads"/></a>
17
17
  </p>
18
18
  <p>
19
- <a href="https://www.npmjs.com/package/pokemon.js"><img src="https://nodei.co/npm/pokemon.js.png" alt="npm installinfo" /></a>
19
+ <a href="https://www.npmjs.com/package/@lucasmod/pokemon.js"><img src="https://nodei.co/npm/pokemon.js.png" alt="npm installinfo" /></a>
20
20
  </p>
21
21
  </div>
22
22
 
@@ -37,12 +37,12 @@ pokemon.js is a [Node.js](https://nodejs.org) module that makes interacting with
37
37
  **Node.js 12.0.0 or newer is required.**
38
38
  No dependencies are required.
39
39
 
40
- `npm install pokemon.js`
40
+ `npm install @lucasmod/pokemon.js`
41
41
 
42
42
  ## Example Usage
43
43
 
44
44
  ```js
45
- import Pokemon from 'pokemon.js';
45
+ import Pokemon from '@lucasmod/pokemon.js';
46
46
 
47
47
  Pokemon.get_pokemon('zorua').then(console.log);
48
48
  ```
package/docs/index.html CHANGED
@@ -1,5 +1,5 @@
1
1
  <!DOCTYPE html>
2
- <html lang="en">
2
+ <html lang="pt-BR">
3
3
 
4
4
  <head>
5
5
  <script src="https://musubi3.github.io/global.js" type="module"></script>
@@ -22,109 +22,109 @@
22
22
  <div class="project-meta">
23
23
  <p class="project-author">Justin Lee</p>
24
24
  <div class="project-info">
25
- <span class="tag project-date">Winter 2021</span>
26
- <span class="tag project-category">Personal Project</span>
25
+ <span class="tag project-date">Inverno 2021</span>
26
+ <span class="tag project-category">Projeto Pessoal</span>
27
27
  </div>
28
28
  </div>
29
29
  </header>
30
30
 
31
31
  <div class="project-badges">
32
- <a href="https://www.npmjs.com/package/pokemon.js">
33
- <img src="https://img.shields.io/npm/v/pokemon.js.svg" alt="NPM Version">
32
+ <a href="https://www.npmjs.com/package/@lucasmod/pokemon.js">
33
+ <img src="https://img.shields.io/npm/v/pokemon.js.svg" alt="Versão NPM">
34
34
  </a>
35
- <a href="https://www.npmjs.com/package/pokemon.js">
36
- <img src="https://img.shields.io/npm/dt/pokemon.js.svg" alt="NPM Downloads">
35
+ <a href="https://www.npmjs.com/package/@lucasmod/pokemon.js">
36
+ <img src="https://img.shields.io/npm/dt/pokemon.js.svg" alt="Downloads NPM">
37
37
  </a>
38
38
  </div>
39
39
 
40
40
  <nav class="toc">
41
- <h3>Table of Contents</h3>
41
+ <h3>Índice</h3>
42
42
  <ul>
43
- <li><a href="#about">About</a></li>
44
- <li><a href="#installation">Installation</a></li>
45
- <li><a href="#example-usage">Example Usage</a></li>
46
- <li><a href="#methods">Methods</a></li>
43
+ <li><a href="#sobre">Sobre</a></li>
44
+ <li><a href="#instalacao">Instalação</a></li>
45
+ <li><a href="#exemplo-uso">Exemplo de Uso</a></li>
46
+ <li><a href="#metodos">Métodos</a></li>
47
47
  <li><a href="#links">Links</a></li>
48
48
  </ul>
49
49
  </nav>
50
50
 
51
- <h2 id="about">About</h2>
51
+ <h2 id="sobre">Sobre</h2>
52
52
 
53
- <p>pokemon.js is a <a href="https://nodejs.org">Node.js</a> module that makes interacting with <a
54
- href="https://pokeapi.co/">PokéAPI</a> easier.</p>
53
+ <p>pokemon.js é um módulo <a href="https://nodejs.org">Node.js</a> que facilita a interação com a <a
54
+ href="https://pokeapi.co/">PokéAPI</a>.</p>
55
55
 
56
- <section id="installation" class="project-section">
57
- <h2>Installation</h2>
58
- <p><strong>Node.js 12.0.0 or newer is required.</strong><br>
59
- No dependencies are required.</p>
60
- <code class="install-command">npm install pokemon.js</code>
56
+ <section id="instalacao" class="project-section">
57
+ <h2>Instalação</h2>
58
+ <p><strong>Node.js 12.0.0 ou mais recente é necessário.</strong><br>
59
+ Nenhuma dependência é necessária.</p>
60
+ <code class="install-command">npm install @lucasmod/pokemon.js</code>
61
61
  </section>
62
62
 
63
- <section id="example-usage" class="project-section">
64
- <h2>Example Usage</h2>
65
- <pre class="code-block"><code class="language-javascript">import Pokemon from 'pokemon.js';
63
+ <section id="exemplo-uso" class="project-section">
64
+ <h2>Exemplo de Uso</h2>
65
+ <pre class="code-block"><code class="language-javascript">import Pokemon from '@lucasmod/pokemon.js';
66
66
 
67
67
  Pokemon.get_pokemon('zorua').then(console.log);</code></pre>
68
68
  </section>
69
69
 
70
- <section id="methods" class="project-section">
71
- <h2>Methods</h2>
70
+ <section id="metodos" class="project-section">
71
+ <h2>Métodos</h2>
72
72
  <div class="method-list">
73
73
  <div class="card method">
74
74
  <h3><code>get_pokemon(pokemon, fields=[])</code></h3>
75
- <p>Returns data for the pokémon in JSON format.</p>
75
+ <p>Retorna dados do pokémon em formato JSON.</p>
76
76
  </div>
77
77
 
78
78
  <div class="card method">
79
79
  <h3><code>get_type(name, is_pokemon=false, fields=[])</code></h3>
80
- <p>Returns an Array of the pokemon's types or returns data for the type in JSON format.</p>
80
+ <p>Retorna um Array dos tipos do pokémon ou retorna dados do tipo em formato JSON.</p>
81
81
  </div>
82
82
 
83
83
  <div class="card method">
84
84
  <h3><code>get_ability(name, is_pokemon=false, fields=[])</code></h3>
85
- <p>Returns an Array of the pokemon's abilities or returns data for the ability in JSON format.</p>
85
+ <p>Retorna um Array das habilidades do pokémon ou retorna dados da habilidade em formato JSON.</p>
86
86
  </div>
87
87
 
88
88
  <div class="card method">
89
89
  <h3><code>get_evolution_line(pokemon, fields=[])</code></h3>
90
- <p>Returns an Array that contains the evolution line of the pokémon.</p>
90
+ <p>Retorna um Array que contém a linha evolutiva do pokémon.</p>
91
91
  </div>
92
92
 
93
93
  <div class="card method">
94
94
  <h3><code>get_move(move, fields=[])</code></h3>
95
- <p>Returns data on the move in JSON format.</p>
95
+ <p>Retorna dados sobre o movimento em formato JSON.</p>
96
96
  </div>
97
97
 
98
98
  <div class="card method">
99
99
  <h3><code>get_nature(nature, fields=[])</code></h3>
100
- <p>Returns an Object that contains the increased and decreased stat caused by the nature.</p>
100
+ <p>Retorna um Objeto que contém o atributo aumentado e diminuído causado pela natureza.</p>
101
101
  </div>
102
102
 
103
103
  <div class="card method">
104
104
  <h3><code>get_item(item, fields=[])</code></h3>
105
- <p>Returns data on the item in JSON format.</p>
105
+ <p>Retorna dados sobre o item em formato JSON.</p>
106
106
  </div>
107
107
 
108
108
  <div class="card method">
109
109
  <h3><code>get_generation(generation, fields=[])</code></h3>
110
- <p>Returns data on the generation in JSON format.</p>
110
+ <p>Retorna dados sobre a geração em formato JSON.</p>
111
111
  </div>
112
112
 
113
113
  <div class="card method">
114
114
  <h3><code>get_region(region, fields=[])</code></h3>
115
- <p>Returns data on the region in JSON format.</p>
115
+ <p>Retorna dados sobre a região em formato JSON.</p>
116
116
  </div>
117
117
 
118
118
  <div class="card method">
119
119
  <h3><code>get_all(type)</code></h3>
120
- <p>Returns an Array containing names of all the specified resource type.</p>
120
+ <p>Retorna um Array contendo nomes de todos os recursos do tipo especificado.</p>
121
121
  </div>
122
122
  </section>
123
123
 
124
124
  <h2 id="links">Links</h2>
125
125
 
126
126
  <ul class="links">
127
- <li><a href="https://www.npmjs.com/package/pokemon.js" class="tag">NPM</a></li>
127
+ <li><a href="https://www.npmjs.com/package/@lucasmod/pokemon.js" class="tag">NPM</a></li>
128
128
  <li><a href="https://github.com/musubi3/pokemon.js.git" class="tag">GitHub</a></li>
129
129
  <li><a href="https://pokeapi.co/" class="tag">PokéAPI</a></li>
130
130
  </ul>
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "test": "node ./module_test/test.js"
4
4
  },
5
5
  "name": "@lucasmod/pokemon.js",
6
- "version": "2.1.1",
6
+ "version": "2.1.2",
7
7
  "description": "Versão corrigida do pokemon.js com suporte a ESM e créditos para lucasmod",
8
8
  "author": "lucasmod",
9
9
  "license": "ISC",