Skip to content
JS
Package

ret

Tokenizes a string that represents a regular expression.

v0.5.0, 16 Mar 2023MITCommonJSTypes: BundledParsers and serialisers
$ npm install ret

Key numbers

As of 25 Sept 2026
Weekly downloads
30.9m
+90% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v0.5.0
GitHub stars
98
21 forks
Open issues / PRs
3 / 4
Contributors
9
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 38.7m (25 Aug 2026)Low 9.2m (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.

30,881,728 downloads last week, 142,545,866 in the last month. The 12-month change of +90% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
027 in total
Latest version
0.5.0, 16 Mar 20233 years ago
First published
21 Dec 2011
Last push to GitHub
24 Jan 2026244 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
4
Commits, last 52 weeks
0
Dependents on npm
676

Major versions

  1. v0 first release 0.1.0, 21 Dec 2011

Recent releases

VersionPublished
0.5.016 Mar 2023
0.4.314 Mar 2023
0.4.211 Feb 2022
0.4.117 Jan 2022
0.4.011 Feb 2021
0.3.24 Jan 2021
0.3.18 Apr 2019
0.3.07 Apr 2019
0.2.223 Feb 2018
0.2.11 Nov 2017
0.2.029 Oct 2017
0.1.1510 Aug 2017
0.1.143 Mar 2017
0.1.135 Dec 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
68 kB
Dependencies (0)
None
npm install ret
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ret@0.5.0/
  • unpkghttps://unpkg.com/ret@0.5.0/
  • esm.shhttps://esm.sh/ret@0.5.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@chevrotain/regexp-to-ast3.5m-1 month agoESM only-
nearley5.9m-5 years agoCommonJS-
remarkable996.7k-6 years agoESM + CommonJS-
snapdragon-node9.2m-7 years agoCommonJS-
snapdragon-util9.2m-8 years agoCommonJS-
php-parser404.9k-3 months agoCommonJS-
parse-imports818.4k-1 year agoESM only-
@croct/json5-parser544.9k-9 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.