Package Exports
- @flex-development/import-regex
- @flex-development/import-regex/package.json
Readme
import-regex
import statement regex.
Contents
What is this?
This package contains regular expressions for matching dynamic and static import statements.
When should I use this?
Use this package when you need to match dynamic or static import statements.
Note:
- Statements in docblock (
/** */), multiline (/* */), and single-line (//) comments are ignored - Regular expressions are ECMAScript-compatible. They have not been tested with other flavors (PCRE, PCRE2, etc)
Install
This package is ESM only.
yarn add @flex-development/import-regexFrom Git:
yarn add @flex-development/import-regex@flex-development/import-regexSee Git - Protocols | Yarn for details on requesting a specific branch, commit, or tag.
Use
TODO: Update documentation.
API
TODO: Update documentation.
Types
This package is fully typed with TypeScript.
Contribute
See CONTRIBUTING.md.