Skip to content
JS
Package

randexp

Create random strings that match a given regular expression.

v0.5.3, 21 Jul 2018MITCommonJSTypes: BundledTesting
$ npm install randexp

Key numbers

As of 25 Sept 2026
Weekly downloads
7.9m
+82% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
8 years ago
v0.5.3
GitHub stars
1.9k
94 forks
Open issues / PRs
11 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 11.3m (28 Jul 2026)Low 2.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,941,289 downloads last week, 39,779,515 in the last month. The 12-month change of +82% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
020 in total
Latest version
0.5.3, 21 Jul 20188 years ago
First published
6 Dec 2011
Last push to GitHub
23 Nov 2025306 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
420

Major versions

  1. v0 first release 0.1.1, 6 Dec 2011

Recent releases

VersionPublished
0.5.321 Jul 2018
0.4.927 Feb 2018
0.5.223 Feb 2018
0.4.815 Feb 2018
0.5.111 Feb 2018
0.5.010 Feb 2018
0.4.710 Feb 2018
0.4.610 Aug 2017
0.4.53 Mar 2017
0.4.45 Dec 2016
0.4.318 Jul 2016
0.4.22 Dec 2015
0.4.127 Sept 2015
0.4.019 Sept 2014
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
13 kB
Dependencies (2)
retdrange
npm install randexp
  • jsDelivrhttps://cdn.jsdelivr.net/npm/randexp@0.5.3/
  • unpkghttps://unpkg.com/randexp@0.5.3/
  • esm.shhttps://esm.sh/randexp@0.5.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.