@atomistics/elements

1.0.0 • Public • Published

elements

A table of information about the chemical elements. Currently includes symbol, name, mass, radius, number, and a color.

The radius and color are primarily for rendering purposes, and don't have any documented basis.

Install

npm i --save @atomistics/elements

Example

const e = require('@atomistics/elements');

> e.Be

{ symbol: 'Be',
  name: 'beryllium',
  mass: 9.012182,
  radius: 0.96,
  color: [ 0.761, 1, 0 ],
  number: 4 }

> e['Be'].color

[ 0.761, 1, 0 ]

> e[4]

{ symbol: 'Be',
  name: 'beryllium',
  mass: 9.012182,
  radius: 0.96,
  color: [ 0.761, 1, 0 ],
  number: 4 }

Package Sidebar

Install

npm i @atomistics/elements

Weekly Downloads

2

Version

1.0.0

License

Unlicensed

Unpacked Size

22.1 kB

Total Files

3

Last publish

Collaborators

  • wwwtyro