2023.12.23-3 • Published 5 months ago

@exabyte-io/periodic-table.js v2023.12.23-3

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
5 months ago

npm version License: Apache

Periodic Table

Data about chemical elements arranged in JSON format. The module also contains a Element class for convenient access to unit conversion of atomic properties (see example below).

Installation

The package can be installed from NPM as follow:

npm install @exabyte-io/periodic-table.js

Usage

import {PERIODIC_TABLE, ChemicalElement} from "@exabyte-io/periodic-table.js";

console.log(PERIODIC_TABLE.H);

const li = new ChemicalElement("Li");
console.log(li.atomicRadiusIn("bohr"));

Atomic Properties

Notes

  • Colors are in CPK convention

Contributions

This repository is an open-source work-in-progress and we welcome contributions.

ToDos

  • Add python code to make this repository into a python package

Links

  1. Periodic table original source: GPeriodic, Open source Linux software: link