Search results
123 packages found
Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.
Regular expression for matching ANSI escape codes
Custom delimiters, for Handlebars templates.
- change
- compile
- delimiter
- delimiters
- delims
- expression
- handlebars
- hbs
- re
- regex
- regexp
- regular
- render
- switch
- View more
Extract gfm (GitHub Flavored Markdown) fenced code blocks from a string.
Strip comments from code. Removes line comments, block comments, the first comment only, or all comments. Optionally leave protected comments unharmed.
Array of RegExp.prototype.exec results
RegExp for gfm (GitHub Flavored Markdown) fenced code blocks.
Strip ANSI color codes from a string. No dependencies.
Regular expression for parsing an `author` string into an object following npm conventions.
Regular expression for matching XML NCName
RegExp API for Humans!
Regular expression for matching IP:PORT addresses
Bind context to a function and preserves her name. Can be used to change name of a function. The toString also works correctly.
Easily replace and transform :props in strings.
Regular expression for matching IP addresses (IPv4 & IPv6). This is a fork of sindresorhus/ip-regex, but with CommonJS support.
oniguruma regular expression library
Regular expression for matching non conditional HTML comments
- html-non-conditional-comment-regex
- text
- string
- regex
- regexp
- re
- match
- test
- find
- pattern
- comment
- comments
- html
- HTML
Match require statements in a string. Returns an array of matching require statements. Each match is an object with line number, variable name, and module name. Statements in code comments are ignored.
Regular Expression Detection & Replacement streams.
Quickly rename files using NodeJS