Socket
Socket
Sign inDemoInstall

generate-password

Package Overview
Dependencies
0
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2Next

1.7.1

Diff

brendanashworth
published 1.7.0 •

Changelog

Source

1.7.0 / 2021-9-9

Support for named exports

Notable Changes
brendanashworth
published 1.6.1 •

Changelog

Source

1.6.1 / 2021-7-21

Fix TypeScript documentation to include string for symbols.

Notable Changes
  • d95f213dd - Added string type to symbols option (Bart in 't Veld)
brendanashworth
published 1.6.0 •

Changelog

Source

1.6.0 / 2021-1-14

Add specifying a list of symbols to substitute defaults.

Notable Changes
  • f0db9f29d - respect list of symbols (Dillon Streator)
  • c1946ea44 - feat: Add jsdoc to ts types and export Options interface (Eddie CooRo)
brendanashworth
published 1.5.1 •

Changelog

Source

1.5.1 / 2020-2-10

Add lowercase option to TypeScript file.

Notable Changes
  • 0eb0f498b - Add lowercase property into Options (Sunjoong Kim)
brendanashworth
published 1.5.0 •

Changelog

Source

1.5.0 / 2020-1-18

Add option to disable lowercase characters in generated passwords.

Notable Changes
  • 960858c1c - Document usage of lowercase, make lowercase optional, add tests (Edgardo Carreras)
brendanashworth
published 1.4.2 •

Changelog

Source

1.4.2 / 2019-6-16

Includes a performance improvement in the random number generator.

Notable Changes
  • ea642553c - Optimized fetch of random values using cache (Sebastien ROBERT)
brendanashworth
published 1.4.1 •

Changelog

Source

1.4.1 / 2018-10-28

Bug fix to randomNumber() function that reduced entropy, resulting in a bias towards letters, generally.

Notable Changes
  • 21a12d0fd - fixed randomNumber's frontwards bias (Starkteetje)
brendanashworth
published 1.4.0 •

Changelog

Source

1.4.0 / 2018-1-20

Release that includes TypeScript definitions.

Notable Changes
  • ef2ded619 - typescript definition file (Carlos Gonzales)
brendanashworth
published 1.3.0 •

Changelog

Source

1.3.0 / 2016-12-28

Release with two new features.

One can now pass { 'exclude': 'abc' } to exclude various characters from password generation. This can be used to blacklist certain symbols, remove alike characters, etc by giving a string with all the characters to be removed.

The options parameter is now optional — it is now unnecessary to pass an empty object when the defaults are desired.

Notable Changes
  • 38d4ae0b8 - add exclude option to restrict passwords (Michael Kimpton)
  • d16c95369 - Accept generate() when called without the options parameter (Alexandre Perrin)
2Next
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