inspect-js / is-regex
Is this value a JS regex?
☆24Updated last month
Related projects ⓘ
Alternatives and complementary repositories for is-regex
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆15Updated 3 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 months ago
- Is this an arguments object? It's a harder question than you think.☆15Updated 2 years ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆14Updated 2 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆10Updated 2 months ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated 2 years ago
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Is this an ES6 Symbol value?☆18Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- fs read and write streams based on minipass☆21Updated 4 months ago
- Check if a file path is a binary file☆43Updated 6 months ago
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated 2 years ago
- ☆20Updated 3 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆37Updated 11 months ago
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Updated 8 months ago
- Find the module object for something that was require()d☆26Updated last year
- ES2015 `String#codePointAt()` ponyfill☆22Updated 3 years ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- Slice a string with ANSI escape codes☆47Updated 6 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Snapdragon utility for creating a new AST node in custom code, such as plugins.☆25Updated 5 years ago