Socket
Socket
Sign inDemoInstall

xkpasswd

Package Overview
Dependencies
7
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    xkpasswd

Memorable password generator, inspired by a PERL module powering xkpasswd.net/s/


Version published
Maintainers
1
Install size
3.33 MB
Created

Readme

Source

Memorable password generator, inspired by a PERL module powering xkpasswd.net/s/

How to use

You can use xkpasswd as a module in your application.

EXAMPLE

var xkpasswd = require('xkpasswd');

console.log(xkpasswd());
valuable=bear=difference=53

console.log(xkpasswd({complexity: 5, separators: '#+-'}));
#addition#wheat#congress#manner#lonely#20


You can also use xkpasswd command in your terminal if you install it globally.

CLI OPTIONS

xkpasswd [complexity] [separators] --pattern --number

xkp alias for this task is also defined and is used in examples below.


EXAMPLE Default behaviour

$ xkp

hide+threw+money+61

EXAMPLE Specify complexity

$ xkp 4

=join=industrial=wide=direction=lungs=16

EXAMPLE Specify custom pattern

$ xkp -p wdwd

adjective3solar6

EXAMPLE Specify complexity, custom separators and number of passwords

$ xkp 3 '#!+' -n 5

Passwords:
---------------------------------
dog!friend!successful!47
he!advice!deer!40
other#sell#close#01
stepped+specific+hurry+00
five#duck#blanket#21
---------------------------------

Release notes

v0.0.7

  • replaced random-words module with a more custom solution using word-list-json module
  • cleaned up a bit and made code slightly more modular and extensible

Issues and requests

Please log your issues at https://github.com/vot/xkpasswd.js/issues

You can also just go ahead and add a feature yourself, simply create a pull request.


FAQs

Last updated on 14 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc