js-tokens
Tiny JavaScript tokenizer.
Found 3054 results for regex javascript
Tiny JavaScript tokenizer.
Generate JavaScript-compatible regular expressions based on a given set of Unicode symbols or code points.
Convert Oniguruma patterns to native JavaScript RegExp
Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
Create a javascript regular expression for matching everything except for the given string.
Recursively (deep) clone JavaScript native types, like Object, Array, RegExp, Date as well as primitives.
Regular expression for matching javascript require/import statements.
Regular expression for matching JavaScript identifiers
Extended glob support for JavaScript. Adds (almost) the expressive power of regular expressions to glob patterns.
JavaScript APG, an ABNF Parser Generator
🌈 Light, fast, and easy to use, dependencies free javascript syntax highlighter, with automatic language detection
Covert Oniguruma-flavor Regexp to JavaScript native RegExp
Maintainable regular expressions for TypeScript and JavaScript.
Regular expression for matching JavaScript comments
Regular expression for matching javascript require statements.
JavaScript Regular expressions made easy
JavaScript replaceLast function - Replaces last match for pattern in string with replacement
Parsing Library for Typescript and Javascript.
Extends JavaScript RegExp with named groups, backreferences and replacement.
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
JavaScript Extended regular expression engine - client side, server side and 'angular side' ready.
Generate JavaScript-compatible regular expressions with chinese/jp/zh/cn
A JavaScript object of regular expressions that match CSS properties grouped by category.
Genex module for JavaScript
regexpu’s core functionality (i.e. `rewritePattern(pattern, flag)`), capable of translating ES6 Unicode regular expressions to ES5.
Returns true if a value is a plain object, array or function.
Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
Simple wrapper around javascript replace with CLI usage support!
A regular expression that matches all emojis. Works in Javascript, .NET, and Java.
Matches strings against configurable strings, globs, regular expressions, and/or functions
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v13.0.0’s categories, scripts, blocks, bidi, and other properties.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.0.0’s categories, scripts, blocks, bidi, and other properties.
Clone and modify a RegExp instance
JavaScript port of portions of Google Code Search
Extended regular expressions
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
A JavaScript package to return captured groups of a regular expression as an object.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v16.0.0’s categories, scripts, blocks, bidi, and other properties.
A library for analysing JS RegExp
Regular expression for matching ANSI escape codes
A regular expression to match all Emoji-only symbols as per the Unicode Standard.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v15.1.0’s categories, scripts, blocks, bidi, and other properties.
Escape RegExp special characters
A library for finite automata and regular expressions in the context of JS RegExp
regular expression to match floating point numbers in javascript notation
Regex template tag with extended syntax, context-aware interpolation, and always-on best practices
Pass two numbers, get a regex-compatible source string for matching ranges. Validated against more than 2.78 million test assertions.
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Create a regular expression from a regular expression string.
Regular expression for matching a shebang line
*A mostly reasonable approach to JavaScript*
Return a regular expression to parse a regular expression string.
*A mostly reasonable approach to JavaScript*
Create random strings that match a given regular expression.
*A mostly reasonable approach to JavaScript*
Make a regular expression time out if it takes too long to execute
Parse CSV with JavaScript ========================================
Returns true if a string has an extglob.
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Regex for matching HSLA colors.
ES6 spec-compliant RegExp.prototype.flags shim.
Regex for matching RGBA color strings.
Give a regex, get a robust predicate function that tests it against a string.
Escape a regular expression string or pattern.
detect possibly catastrophic, exponential-time regular expressions
Regex for matching HSL colors.
Regex for RGB color strings.
Returns an object with the (non-glob) base path and the actual pattern.
Return a regular expression to capture a function name.
Regular expression to detect an extended-length path.
A regex to match any full character, considering weird character ranges.
*A mostly reasonable approach to JavaScript*
Compile regular expressions using the `s` (`dotAll`) flag to ES5.
Return a regular expression to match a newline character sequence.
Regular expression for matching astral symbols
A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5.
dockerignore is a file filter library compatible with Docker and the node-ignore API
Generate regular expressions from regjsparser’s AST.
Compile regular expressions using named groups to ES5.
Improved Javascript string split, for handling RegExp in a way that can easily re-create the original string
Recursive matching plugin for Regex+
Compile regular expressions' unicodeSets (v) flag.
Spec-compliant polyfill for String.prototype.matchAll
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v10.0.0’s categories, scripts, blocks, bidi, and other properties.
Tokenizes a string that represents a regular expression.
Compile Unicode property escapes in Unicode regular expressions to ES5.
detect possibly catastrophic, exponential-time regular expressions
Replace search occurrences with a replacement string.
Parse regular expressions' unicodeSets (v) flag.
A library to find JS RegExp with super-linear worst-case time complexity for attack strings that repeat a single character.
Generate a regex from a string or array of strings.
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but complete Bash 4.3 wildcard support only (no support for exglobs, posix brackets or braces)
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v14.0.0’s categories, scripts, blocks, bidi, and other properties.
Compile regular expressions using duplicate named groups to index-based groups.
Check if a string has ANSI escape codes
A regular expression to match all emoji-only symbols
Check if a value is a regular expression
Compile inline regular expression modifiers
Regular expression for matching IP addresses (IPv4 & IPv6)
grep, but in JavaScript.
Returns true if a filepath is a windows UNC file path.
A collection of helpful utility functions for common JavaScript development and browser DOM manipulation tasks
> A simple JavaScript utility for conditionally joining classNames together.
React is a JavaScript library for building user interfaces.
Weapon regeX mutates regular expressions for use in mutation testing.
A regular expression that matches a CHANGELOG filename
Generate regular expressions from regjsparser’s AST.
Regular expression for testing if a file path is a windows UNC file path. Can also be used as a component of another regexp via the `.source` property.
> A simple JavaScript utility for conditionally joining classNames together.
Regular expression for getting the root of a posix or windows filepath.
Regular expression for matching semver versions
Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`
Test if a value is a regular expression.
A library for teleporting rich data to another place.
Glob to regular expression with support for extended globs
Test if a value is a regular expression string.
*一种写JavaScript更合理的代码风格。*
Regular expression for matching reserved filename characters
Clean up regular expressions
A isomorphic, bullet-proof, ninja-ready route parsing, matching, and reversing library for Javascript in Node and the browser.
JavaScript regular expression for matching a quoted string.
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
Return true if a file path contains the given path.
Simple wildcard matching
The best regular expression (regex) for matching hex color values from string.
> A simple JavaScript utility for conditionally joining classNames together.
Implement regex functions with ease in JavaScript
Parse a glob pattern into an object of tokens.
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in surprising performance improvements.
Temporarily substitute tokens in the given `string` with placeholders, then put them back after transforming the string.
gets the package name for a require statement
Return true if a file path is (or has) a dotfile. Returns false if the path is a dot directory.
A tiny (349B) utility to rewrite `import` statements as `require()`s; via RegExp
Regular expression for matching file names, with or without extension.
Shallow and recursively (deep) clone JavaScript objects that handles circular references
Returns true if the given string is a POSIX bracket expression (POSIX character class).
Returns true if a windows file path has invalid characters.
Find multiple RegExp matches in a string
Parse a github URL into an object.
Spec-compliant polyfill for String.prototype.replaceAll ESnext proposal
Parses a regular expression string and returns a new regular expression.
[](https://badge.fury.io/js/@wemnyelezxnpm/quia-quaerat-tenetur) [ and IBANs. It also includes utility functions to validate card numbers and IBANs using standard algorithms.
Cucumber Expressions - a simpler alternative to Regular Expressions
WebAssembly port of Oniguruma regex library
Returns `true` if an array has a glob pattern.
Regular expression to parse a regular expression string.
Regular expression for matching HTML comments
Micro parser for detection of literal regexes
Check if a string is an IP address
Returns true if the value passed is all whitespace.
The tiny, regex powered, lenient, _almost_ spec-compliant JavaScript tokenizer that never fails.
Regular expression for matching scoped npm package names
Returns true if a file path does not contain any invalid characters.
Make a synchronous function have a timeout
Validate zip codes fast and accurate! A Library of JavaScript Regular Expressions for validating if a specific zip code actually exists in a specific Country.
glob implementation in pure javascript
ESLint plugin for finding RegExp mistakes and RegExp style guide violations.
(NPM Package) Collection of various small helpers for javascript and typescript based projects, all tested and documented.
Regular expressions for various Unicode character classes extracted from XRegExp
The tiny, regex powered, lenient, _almost_ spec-compliant JavaScript tokenizer that never fails.
Replace search occurrences with a replacement string.
Replace text in files using strings, regexs or functions.
This Typescript to Javascript compiler only drops the Typescript specific keywords. No other changes are made to the code.
A node.js through stream that does basic streaming text search and replace and is chunk boundary friendly
Array extras for regular expressions
Simple Regexp patterns javascript library
Parse, validate, traverse, transform, and optimize Oniguruma regular expressions
Regular expression for parsing an `author` string into an object following npm conventions.
Parse an author, contributor, maintainer or other 'person' string into an object with name, email and url properties following npm conventions.
Check whether a RegExp flag is supported
Tagged template string regular expression compiler.
PCRE emulation for JavaScript
Strip ANSI color codes from a string. No dependencies.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v6.0.0’s categories, scripts, blocks, bidi, and other properties.
easier than regex string matching patterns for urls and other strings. turn strings into data or data into strings.
Regular expression for matching URLs
A JavaScript library for invoking LLMs and matching their responses with patterns
Emojibase utility functions for working with emoji characters.
A collection of utilities for emojis
Regular expression for matching issue references
`typed-env` adds a layer over [@humanwhocodes/env](https://www.npmjs.com/package/@humanwhocodes/env) that allows you to convert environment variables into various JavaScript types.
Evergreen emoji regex patterns.
_emoji-test-regex-pattern_ offers Java- and JavaScript-compatible regular expression patterns to match all emoji symbols and sequences listed in the `emoji-test.txt` file provided as part of [Unicode® Technical Standard #51](https://www.unicode.org/report
Regex to validate that a URL is a git url.
Generates an anchor for a markdown header.
Updates a section inside a file with newer content while removing the old content.
javascript easy regexp generator
Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.
Get all the matches for a regular expression in a string.
A JavaScript module for performing various string transformation tasks. To install this module run command
Generate regular expressions that match a set of strings
Detect vulnerable regexes by querying a service hosted at Virginia Tech.
Hash map of country ISO-3 codes to regular expression identifiers
Regular expression for matching CSS urls.
Tiny glob->regex converter
Replace matching strings and regexes in files
Extended RegExp class with additional utility methods for JavaScript and TypeScript
Regular expression matching for URL's. Maintained, safe, and browser-friendly version of url-regex. Resolves CVE-2020-7661. Works in Node v10.12.0+ and browsers.
Regular expression for matching npm organization names
Type-Level RegExp parser, matcher and permutation resolver
Provides a regex that can be used to test if a string is a valid NPM package name.
Regular expressions.
Regular expressions for matching against the XML Character Classes
Functional Regex simplifies the way you work with global regular expressions in JavaScript.
Simple, flexible file copy utility
Regular expression for matching XML NCName
Escapes a string literal for use as an argument in the standard RegExp constructor.
Regular expression for matching JSDoc comment blocks and the code below them.
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v9.0.0’s categories, scripts, blocks, bidi, and other properties.
Sorting and matching utility using configurable string, glob, regular expression, and/or function matchers
3x as fast as `is-whitespace` and `whitespace-regex` thanks to `is-string-blank`. This package is a simple function that accepts an argument and returns `true` if it is a string AND it is not blank. Supports Node and Browser environments.
Escapes input characters to be used in regular expressions.
Escape RegExp special characters
>*JSCAD* is a set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code.
Check if a string is an IP address
A lite useragent regexes collection.
Replace text patterns with applause.
__@wemnyelezxnpm/repellat-alias-earum__ is a javascript library that resolves references in [JSON schemas](https://json-schema.org/draft/2020-12/json-schema-core#name-introduction).
UUID check for Node and the browser
A utility that provides a fluent, convenient interface for working with arrays of data in JavaScript. Influenced by Laravel Collections.
The magical sticky regex-based parser generator 🧙
Optimize regex literals
Check if a string is a valid filename
ESLint rules using Regular Expression
utilities for generating regular expression
A library to process strings with regular expressions.
The goal of the package is to provide lightweight tools for validating strings denotings dates and time. It includes ISO 8601 datestring validation, simple YYYY-MM-DD date validation and time validation in hh:mm:ss.fff format. See details in readme.
Updated fork of OfficeProps.js - A JavaScript library used to extract, edit or remove metadata in Microsoft Office and Open Office files.
`bs-cmdliner` ------------- This is Cmdliner, a CLI-interface building tool for OCaml, packaged for [BuckleScript][] (an OCaml-to-JavaScript compiler) and [Reason][] (an alternative OCaml syntax targeting that compiler.)
Create regex for template delimiters.
A regular expression that only matches a valid Github username
Objix is a delightfully convienient, high performance, zero dependency and super lightweight utility which extends the javascript standard library to sugar many common use cases for working with any objects.
The `Easylibs` library is a collection of reusable JavaScript modules that can be used to build web applications. The library includes modules for progress form, file uploading, image processing, and data validation and more.
A robust ES3-compatible polyfill for the `RegExp.escape` proposal - see https://github.com/tc39/proposal-regex-escaping
Replace special characters to their simple characters
Bash-powered globbing for node.js
Human-friendly replacements.
Tests or returns the JavaScript version by (ECMAScript) starting with ES2. (MIT license) ## Why 'js.**es6**.@drftgyhuji7npm/adipisci-quas-placeat' when 'starting with ES2'? ## - @drftgyhuji7npm/adipisci-quas-placeat() support ES2+ (index.js#@drftgyhuji7np
A high-performance, tree-based router for JavaScript and TypeScript, featuring a powerful plugin system for extreme extensibility
[![github actions][actions-image]][actions-url] [![coverage][codecov-image]][codecov-url] [![dependency status][deps-svg]][deps-url] [![dev dependency status][dev-deps-svg]][dev-deps-url] [![License][license-image]][license-url] [![Downloads][downloads-im
Validates and converts Cucumber JSON for different Cucumber implementations and versions
JavaScript-compatible Unicode data. Arrays of code points, arrays of symbols, and regular expressions for Unicode v11.0.0’s categories, scripts, blocks, bidi, and other properties.
Regular expression for phone numbers.
A collection of regular expressions to match color syntax substrings from a text
XML Schema pattern (regular expression) matcher
bump RegEx with semver
Traverse object hierarchies using matching and callbacks.
escape regular expression characters