# chemical

> JavaScript interface for chemicals

Latest version **0.1.0** (published 2014-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install chemical
pnpm add chemical
yarn add chemical
bun add chemical
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2014-05-04 |
| First published | 2014-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Ryan Van Etten |
| Maintainers | ryanve |
| Keywords | chemistry |

## Links

- npm: https://www.npmjs.com/package/chemical
- Repository: https://github.com/ryanve/chemical
- Issues: https://github.com/ryanve/chemical/issues
- npm.io page: https://npm.io/package/chemical

## Recent versions

- 0.1.0 (latest) — 2014-05-04
- 0.0.0 — 2014-04-29

## README

# chemical
#### JavaScript interface for chemicals

## `require` example

```js
var chemical = require('chemical')
var carbon = chemical({
  formula: 'C'
})

carbon instanceof chemical // true
```

## Proposed interface

No methods are implemented in this version. If you know about JavaScript or chemistry, please [contribute your ideas](../../issues) about how to best implement this interface. Below is a loose example of the proposed interface for future versions. 

```js
var hydrogen = chemical('H')
var oxygen = chemical('O2')
var reaction = hydrogen.react(water)
```

Chemicals ([chemical substances](http://en.wikipedia.org/wiki/Chemical_substance)) include [elements](http://en.wikipedia.org/wiki/Chemical_element), [compounds](http://en.wikipedia.org/wiki/Chemical_compound), and [mixtures](http://en.wikipedia.org/wiki/Mixture). Chemicals are expressed as [formulas](http://en.wikipedia.org/wiki/Chemical_formula). Chemicals react with other chemicals. [Reactions](http://en.wikipedia.org/wiki/Chemical_reaction) are classified into [types](http://misterguch.brinkster.net/6typesofchemicalrxn.html). The API should include such abilities.

## License
MIT

---
_Source: https://npm.io/package/chemical · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
