Skip to content

Monitor your RegExp consumption and provide suggestions to improve performance.

License

Notifications You must be signed in to change notification settings

antfu/regex-doctor

Repository files navigation

regex-doctor

npm version npm downloads bundle JSDocs License

Monitor your RegExp consumption and provide suggestions to improve performance.

Important

Work in progress, not yet useable.

Usage

Install the package as a dependency:

pnpm i -D regex-doctor

Run the script with --import regex-doctor/register:

node --import regex-doctor/register path/to/your/script.js

Which will generate a report under .regex-doctor/output.json.

Then run:

npx regex-doctor

To inspect the report in browser.

Sponsors

License

MIT License © 2023-PRESENT Anthony Fu

About

Monitor your RegExp consumption and provide suggestions to improve performance.

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •