Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including pwpush-cli with all npm packages installed. Try it out:

var pwpushCli = require("pwpush-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

pwpush-cli v0.8.0

A nodeJS CLI wrapper to easily push passwords to pwpush.com

pwpush-cli

Greenkeeper badge

A nodeJS CLI wrapper to easily push passwords to pwpush.com

NPM

npm version Build Status Coverage Status Maintainability
Downloads/month Download-size

image

Install

npm install -g pwpush-cli

Usage

pwpush <password> [parameters] [options]

# Long version
pwpush MyVerySecretP@sswd2BeBroken --days 1 --views 2

# Short version
pwpush MyVerySecretP@sswd2BeBroken -d 1 -v 2

Tip: The secure generated link should be automatically be copied to the clipboard. Just paste it 🍻

Parameters

--days | -d

Type: integer
Default value: 7

Number of days until the password is deleted.

--views | -v

Type: integer
Default value: 5

Number of visualizations until the password is deleted.

--disallow-delete | -r

Disallow the viewer to delete the password before expiration (by default viewers are allowed to delete the password)

Options

--allow-weak

Disable password strength verification. Not recommended!!
Read more about OWASP security guideline.

--version

Display package version.

--help | -h

Display help usage information.

Contributing

Bug reports and Pull Requests are welcome!

License

MIT License © Leandro Nunes

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free