inspect-js / is-regex
Is this value a JS regex?
☆24Updated last year
Related projects: ⓘ
- 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 last month
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆14Updated last year
- Is this an arguments object? It's a harder question than you think.☆15Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 2 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆10Updated last week
- Strip the final newline character from a string/buffer☆33Updated 4 months ago
- Create ansi colors by passing open and close codes.☆18Updated 5 months ago
- list of SPDX standard license exceptions☆14Updated 4 months ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 3 years ago
- Is this an ES6 Symbol value?☆18Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 2 years ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated last year
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆20Updated 3 years ago
- Check if a file path is a binary file☆41Updated 4 months ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Lowercase the keys of an object☆41Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 7 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆20Updated last month
- Returns true if a string has an extglob☆22Updated 5 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Regular expression for matching a shebang line☆46Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated 11 months ago
- ☆20Updated 2 years ago
- Find the module object for something that was require()d☆26Updated last year
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated last year