sparkjs 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.
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more