npm.io
1.0.3 • Published 11 years agoCLI

kenny-logins

Licence
ISC
Version
1.0.3
Deps
3
Vulns
0
Weekly
0

kenny-logins

a module for logging into npm, comes with a command line!

API

kennyLogins({username, password, email[, npm='npm', npmParams=[]]}, ready)

Uses nexpect to run npm login with the given parameters. Calls ready with an error (when there's been an error!) or null if everything is ok.

CLI

kenny-logins --user=username --pass=password --email=email

Returns 0 on success, 1 on failure.

License

ISC

Keywords