particle-api-js.
DEPRECATED and no longer maintained. Usesparkjs
is deprecated. particle-api-js
is the replacement library. The login form components have not been ported, but you can copy the code.
The old sparkjs documentation is still available.