A standard form quadratic function solver node package available through the npm registry at quad-solve
To use it, simply install the node package through the npm installer into your project's node modules using
$ npm install quadsolver
The function takes in 3 parameters to represent the coefficients in a standard form equation Ax^2 + Bx + C. It will then tell you how many real roots exist, as well as the x coordinates of the roots
quadsolve(1, 0, -4)