Package
ret
Tokenizes a string that represents a regular expression.
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
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
- v0 first release 0.1.0, 21 Dec 2011
Recent releases
| Version | Published |
|---|---|
| 0.5.0 | 16 Mar 2023 |
| 0.4.3 | 14 Mar 2023 |
| 0.4.2 | 11 Feb 2022 |
| 0.4.1 | 17 Jan 2022 |
| 0.4.0 | 11 Feb 2021 |
| 0.3.2 | 4 Jan 2021 |
| 0.3.1 | 8 Apr 2019 |
| 0.3.0 | 7 Apr 2019 |
| 0.2.2 | 23 Feb 2018 |
| 0.2.1 | 1 Nov 2017 |
| 0.2.0 | 29 Oct 2017 |
| 0.1.15 | 10 Aug 2017 |
| 0.1.14 | 3 Mar 2017 |
| 0.1.13 | 5 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- jsDelivr
https://cdn.jsdelivr.net/npm/ret@0.5.0/ - unpkg
https://unpkg.com/ret@0.5.0/ - esm.sh
https://esm.sh/ret@0.5.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @chevrotain/regexp-to-ast | 3.5m | - | 1 month ago | ESM only | - |
| nearley | 5.9m | - | 5 years ago | CommonJS | - |
| remarkable | 996.7k | - | 6 years ago | ESM + CommonJS | - |
| snapdragon-node | 9.2m | - | 7 years ago | CommonJS | - |
| snapdragon-util | 9.2m | - | 8 years ago | CommonJS | - |
| php-parser | 404.9k | - | 3 months ago | CommonJS | - |
| parse-imports | 818.4k | - | 1 year ago | ESM only | - |
| @croct/json5-parser | 544.9k | - | 9 months ago | CommonJS | - |
Indexability: Indexed.