periodic-table-data-complete 1.0.0 → 1.1.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Scott Weaver
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -28,11 +28,26 @@ https://www.convertonline.io/convert/js-to-json
28
28
  ## Installation
29
29
 
30
30
  `npm install periodic-table-data-complete`
31
- *raw JSON and CSV files are also included
31
+
32
+ (raw JSON and CSV files are also provided)
32
33
 
33
34
  ## Usage
34
35
 
35
- `import { pTable, pTableUnits, pTableProperties } from periodic-table-data-complete`
36
+ as an npm package:
37
+
38
+ ```javascript
39
+ import { pTable, pTableUnits, pTableProperties } from periodic-table-data-complete`
40
+ ```
41
+
42
+ using the source directly:
43
+
44
+ ```HTML
45
+ <script type="module">
46
+ import { pTable } from "<path to>/pTable.js";
47
+ import { pTableUnits } from "<path to>/pTableUnits.js";
48
+ import { pTableProperties } from "<path to>/pTableProperties.js";
49
+ </script>
50
+ ```
36
51
 
37
52
  The PTable is an array of objects, each object representing one chemical element.
38
53
 
@@ -64,6 +79,6 @@ chemical_properties.atomic_number => 'The <a target="_blank" href="https://en.wi
64
79
 
65
80
  ## Hierarchy / Available Properties
66
81
 
67
- abundance.crust</br>abundance.human</br>abundance.meteor</br>abundance.ocean</br>abundance.solar</br>abundance.universe</br>adiabatic_index</br>allotropes</br>alternate_names</br>appearance</br>atomic_mass</br>atomic_number</br>block</br>boiling_point</br>classifications.cas_number</br>classifications.cid_number</br>classifications.dot_hazard_class</br>classifications.dot_numbers</br>classifications.rtecs_number</br>conductivity.electric</br>conductivity.thermal</br>cpk_hex</br>critical_pressure</br>critical_temperature</br>crystal_structure</br>curie_point</br>decay_mode</br>density.liquid</br>density.stp</br>discovered.by</br>discovered.location</br>discovered.year</br>electrical_type</br>electron_affinity</br>electron_configuration</br>electron_configuration_semantic</br>electronegativity_pauling</br>electrons_per_shell.0</br>electrons_per_shell.1</br>electrons_per_shell.2</br>electrons_per_shell.3</br>electrons_per_shell.4</br>electrons_per_shell.5</br>electrons_per_shell.6</br>electrons_per_shell.7</br>energy_levels</br>gas_phase</br>group</br>half-life</br>hardness.brinell</br>hardness.mohs</br>hardness.vickers</br>heat.fusion</br>heat.molar</br>heat.specific</br>heat.vaporization</br>ionization_energies.0</br>ionization_energies.1</br>ionization_energies.2</br>ionization_energies.3</br>ionization_energies.4</br>ionization_energies.5</br>ionization_energies.6</br>ionization_energies.7</br>ionization_energies.8</br>ionization_energies.9</br>ionization_energies.10</br>ionization_energies.11</br>ionization_energies.12</br>ionization_energies.13</br>ionization_energies.14</br>ionization_energies.15</br>ionization_energies.16</br>ionization_energies.17</br>ionization_energies.18</br>ionization_energies.19</br>ionization_energies.20</br>ionization_energies.21</br>ionization_energies.22</br>ionization_energies.23</br>ionization_energies.24</br>ionization_energies.25</br>ionization_energies.26</br>ionization_energies.27</br>ionization_energies.28</br>ionization_energies.29</br>isotopes_known</br>isotopes_stable</br>isotopic_abundances</br>lattice_angles</br>lattice_constants</br>lifetime</br>magnetic_susceptibility.mass</br>magnetic_susceptibility.molar</br>magnetic_susceptibility.volume</br>magnetic_type</br>melting_point</br>modulus.bulk</br>modulus.shear</br>modulus.young</br>molar_volume</br>name</br>neel_point</br>neutron_cross_section</br>neutron_mass_absorption</br>oxidation_states</br>period</br>phase</br>poisson_ratio</br>quantum_numbers</br>radius.calculated</br>radius.covalent</br>radius.empirical</br>radius.vanderwaals</br>refractive_index</br>resistivity</br>series</br>source</br>space_group_name</br>space_group_number</br>speed_of_sound</br>summary</br>superconducting_point</br>symbol</br>thermal_expansion</br>valence_electrons
82
+ abundance.crust, </br>abundance.human, </br>abundance.meteor, </br>abundance.ocean, </br>abundance.solar, </br>abundance.universe, </br>adiabatic_index, </br>allotropes, </br>alternate_names, </br>appearance, </br>atomic_mass, </br>atomic_number, </br>block, </br>boiling_point, </br>classifications.cas_number, </br>classifications.cid_number, </br>classifications.dot_hazard_class, </br>classifications.dot_numbers, </br>classifications.rtecs_number, </br>conductivity.electric, </br>conductivity.thermal, </br>cpk_hex, </br>critical_pressure, </br>critical_temperature, </br>crystal_structure, </br>curie_point, </br>decay_mode, </br>density.liquid, </br>density.stp, </br>discovered.by, </br>discovered.location, </br>discovered.year, </br>electrical_type, </br>electron_affinity, </br>electron_configuration, </br>electron_configuration_semantic, </br>electronegativity_pauling, </br>electrons_per_shell.0, </br>electrons_per_shell.1, </br>electrons_per_shell.2, </br>electrons_per_shell.3, </br>electrons_per_shell.4, </br>electrons_per_shell.5, </br>electrons_per_shell.6, </br>electrons_per_shell.7, </br>energy_levels, </br>gas_phase, </br>group, </br>half-life, </br>hardness.brinell, </br>hardness.mohs, </br>hardness.vickers, </br>heat.fusion, </br>heat.molar, </br>heat.specific, </br>heat.vaporization, </br>ionization_energies.0, </br>ionization_energies.1, </br>ionization_energies.2, </br>ionization_energies.3, </br>ionization_energies.4, </br>ionization_energies.5, </br>ionization_energies.6, </br>ionization_energies.7, </br>ionization_energies.8, </br>ionization_energies.9, </br>ionization_energies.10, </br>ionization_energies.11, </br>ionization_energies.12, </br>ionization_energies.13, </br>ionization_energies.14, </br>ionization_energies.15, </br>ionization_energies.16, </br>ionization_energies.17, </br>ionization_energies.18, </br>ionization_energies.19, </br>ionization_energies.20, </br>ionization_energies.21, </br>ionization_energies.22, </br>ionization_energies.23, </br>ionization_energies.24, </br>ionization_energies.25, </br>ionization_energies.26, </br>ionization_energies.27, </br>ionization_energies.28, </br>ionization_energies.29, </br>isotopes_known, </br>isotopes_stable, </br>isotopic_abundances, </br>lattice_angles, </br>lattice_constants, </br>lifetime, </br>magnetic_susceptibility.mass, </br>magnetic_susceptibility.molar, </br>magnetic_susceptibility.volume, </br>magnetic_type, </br>melting_point, </br>modulus.bulk, </br>modulus.shear, </br>modulus.young, </br>molar_volume, </br>name, </br>neel_point, </br>neutron_cross_section, </br>neutron_mass_absorption, </br>oxidation_states, </br>period, </br>phase, </br>poisson_ratio, </br>quantum_numbers, </br>radius.calculated, </br>radius.covalent, </br>radius.empirical, </br>radius.vanderwaals, </br>refractive_index, </br>resistivity, </br>series, </br>source, </br>space_group_name, </br>space_group_number, </br>speed_of_sound, </br>summary, </br>superconducting_point, </br>symbol, </br>thermal_expansion, </br>valence_electrons
68
83
 
69
84