inspect-js / is-regex
Is this value a JS regex?
☆24Updated last month
Alternatives and similar repositories for is-regex:
Users that are interested in is-regex are comparing it to the libraries listed below
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆15Updated last month
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 5 months ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆14Updated last month
- Is this an arguments object? It's a harder question than you think.☆15Updated last month
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Updated 7 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆10Updated 4 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 2 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Is this an ES6 Symbol value?☆18Updated last month
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated last month
- Gracefully restore the CLI cursor on exit☆36Updated 5 months ago
- Check if a file path is a binary file☆44Updated 8 months ago
- ☆20Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Object.keys shim☆45Updated 2 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Check if a path is inside another path☆37Updated 2 years ago
- Check if a number is in a given range☆21Updated 3 years ago
- Create an array by repeating the given string n times.☆19Updated 3 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 6 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆20Updated 5 months ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Turn an object into a string of HTML attributes☆49Updated last year
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago