Skip to content
JS
Package

refa

A library for finite automata and regular expressions in the context of JS RegExp

v0.12.1, 13 Sept 2023MITCommonJSTypes: Bundled
$ npm install refa

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 5m (25 Aug 2026)Low 969.7k (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.

3,503,865 downloads last week, 16,809,296 in the last month. The 12-month change of +148% 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.12.1, 13 Sept 20233 years ago
First published
5 Apr 2020
Last push to GitHub
16 Jun 2024830 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
1
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v0 first release 0.1.0, 5 Apr 2020

Recent releases

VersionPublished
0.12.113 Sept 2023
0.12.04 Sept 2023
0.11.029 Mar 2023
0.10.019 Oct 2021
0.9.126 Jul 2021
0.9.015 Jul 2021
0.8.029 Apr 2021
0.7.19 Mar 2021
0.7.025 Feb 2021
0.6.022 Dec 2020
0.5.026 Oct 2020
0.4.129 Aug 2020
0.4.023 Aug 2020
0.3.19 Aug 2020
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^12.0.0 || ^14.0.0 || >=16.0.0
Runtimes
-
Unpacked size (npm)
1.1 MB
Dependencies (1)
@eslint-community/regexpp
npm install refa
  • jsDelivrhttps://cdn.jsdelivr.net/npm/refa@0.12.1/
  • unpkghttps://unpkg.com/refa@0.12.1/
  • esm.shhttps://esm.sh/refa@0.12.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.