Chemical equation parser
npm install formulant
import parse from 'formulant';
const equation = parse('H2O+CO2->H2CO3'); // Can't handle whitespace
console.log(equation);
https://jsfiddle.net/8850s/q1z3fupe/show/
This project is licensed under the MIT license.