Socket
Socket
Sign inDemoInstall

chem-eb

Package Overview
Dependencies
2
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    chem-eb

Simple Chemical Equation Balancing


Version published
Weekly downloads
114
decreased by-47.22%
Maintainers
1
Install size
1.59 MB
Created
Weekly downloads
 

Readme

Source

Sky chem

chemLogo

A friend's kid is going to high school. I wrote a Chemical Equation Balancing code for him.

Install

npm i chem-eb

Test

npm test

Use

let balanceEq = require('chem-eb')
console.log(balanceEq('P+O2=P2O5'))
console.log(balanceEq('Fe2S3O12+NaOH=Na2SO4+FeO3H3')) // 会用到超定方程求解

NOTICE:

when (OH)2 pls O2H2 input

TODO:

  • over-determined equation
  • Chemical functional groups unfold

Keywords

FAQs

Last updated on 19 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc