You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

chem-eb

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chem-eb

Simple Chemical Equation Balancing


Version published
Weekly downloads
61
increased by125.93%
Maintainers
1
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

Package last updated on 19 Jun 2023

Did you know?

Socket

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
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc