Socket
Socket
Sign inDemoInstall

random-words

Package Overview
Dependencies
Maintainers
12
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-words - npm Package Versions

2.0.1

Diff

Changelog

Source

2.0.1 (2024-01-25)

  • Fixed return type of generate so that it is consistent with the possibility of returning either string or string[]
boutell
published 2.0.0 •

Changelog

Source

2.0.0 - 2023-06-08

This is a significant update that transforms this module into an ECMAScript module and changes the name of the exported function. For that reason, we have updated the major version number.

  • Converted default export to named export (generate) to generate random words.
  • Adds count named export to count number of words.
  • Thanks to prateek-budhiraja for these updates.
  • Addition of minLength option.
  • Code update to ES6 Syntax.
  • Thanks to Nellfs for these updates.
boutell
published 1.3.0 •

Changelog

Source

1.3.0 - 2023-02-17

boutell
published 1.2.1 •

Changelog

Source

1.2.1 - 2023-01-06

  • Fixes misspelling of separator in typings. Thanks to Andrei Gec for the correction.
boutell
published 1.2.0 •

Changelog

Source

1.2.0 - 2022-06-16

  • Adds typescript typings. Thanks to Tim Kennedy for this contribution.
alexbea
published 1.1.2 •

Changelog

Source

1.1.2 - 2022-01-20

  • Updates mocha to v9.
boutell
published 1.1.1 •

Changelog

Source

1.1.1

  • Use var in a small amount of newer code that used let, to match ES5 legacy support status of the rest of the module. We should probably decide on a strategy for moving this module to ES6, but there is no urgency.
boutell
published 1.1.0 •

Changelog

Source

1.1.0

  • Addition of wordsPerString, separator and format options. Thanks to Matteo Veraldi.
boutell
published 1.0.0 •

Changelog

Source

1.0.0

  • Addition of maxLength option, thanks to Scoombe.

  • Since this module has achieved considerable use, has good test coverage and has had no bug reports, we've declared version 1.0.0 stable. We will follow the semver standard from here on out.

boutell
published 0.0.1 •

Changelog

Source

0.0.1

Initial release.

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc