Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
A configurable generator for memorable passphrases
mempass
is the CLI command, run npm i -g mempass
to use it in the command line
$ mempass -s = -t allcaps
METHANOL=TODDED=BROWNOUT
$ mempass 4 -s + -t randomcaps
DITT+syntexis+tithing+BARRATOR
$ mempass 2 -s "<>" -t capitalize
paterae<>rebraced
$ mempass [words] [options]...
words
is an optional number specifying the number of words in the passphrase
Note: not case-sensitive
Command | Description |
---|---|
-s , --separator | Symbol to use to separate the individual words (" " for space) |
-b , --beginningNumbers | Amount of digits to insert before the phrase |
-e , --endingNumbers | Amount of digits to append to the phrase |
-t , --transform | Tranformation of the words, see list below |
--min , --minLength | The minimum length of each word (0 for anything) |
--max , --maxLength | The maximum length of each word (0 for anything) |
Note: not case-sensitive
Name | Example |
---|---|
none | whatevers-in-Dictionary |
lower | all-lower-case |
everyOTHERcaps | every-OTHER-word-IS-caps |
Capitalize | First-Letter-Is-Capitalized |
rEVERSEcAPITALIZE | fIRST-lETTER-iS-lOWERCASE |
ALLCAPS | EVERY-LETTER-CAPITALIZED |
randomCAPS | random-words-ARE-capitalized |
You can use mempass programmatically
Install as a dependency with npm i -s mempass
var mempass = require("mempass")
// generates and returns a passphrase as a string
// possible options are in mempass.defaults
mempass.generate(options?)
// contains the default options object
mempass.defaults = {
words: 3,
minLength: 4,
maxLength: 8,
separator: "-",
beginningNumbers: 0,
endingNumbers: 0,
transform: "lower" // case insensitive
}
// contains the default transforms, detailed above
mempass.transforms
FAQs
A configurable memorable password generator
The npm package mempass receives a total of 1 weekly downloads. As such, mempass popularity was classified as not popular.
We found that mempass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.