Wondering what’s next for npm?Check out our public roadmap! »

    chem-eb

    0.1.11 • Public • Published

    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

    Install

    npm i chem-eb

    DownloadsWeekly Downloads

    101

    Version

    0.1.11

    License

    MIT

    Unpacked Size

    80.6 kB

    Total Files

    6

    Last publish

    Collaborators

    • avatar