inspect-js / is-regex
Is this value a JS regex?
☆24Updated 4 months ago
Alternatives and similar repositories for is-regex:
Users that are interested in is-regex are comparing it to the libraries listed below
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 8 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆16Updated 4 months 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 8 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆16Updated 4 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Is this an arguments object? It's a harder question than you think.☆16Updated 4 months ago
- Is this an ES6 Symbol value?☆19Updated 4 months ago
- Check if a file path is a binary file☆44Updated 11 months ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- Gracefully restore the CLI cursor on exit☆38Updated 8 months ago
- Object.keys shim☆45Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆21Updated 4 months ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Node.js releases data☆36Updated 3 weeks ago
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 6 years ago
- ☆20Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- Loop over each item in an array and call the given function on every element.☆14Updated 8 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 8 months ago
- Check if a file path is a compressed file☆17Updated 11 months ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago