inspect-js / is-regex
Is this value a JS regex?
☆24Updated 3 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 7 months ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆16Updated 3 months ago
- Is this an arguments object? It's a harder question than you think.☆15Updated 3 months ago
- Is this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆15Updated 3 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Turn an object into a string of HTML attributes☆49Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆36Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Check if a file path is a binary file☆44Updated 10 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated 7 months ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Is this an ES6 Symbol value?☆19Updated 3 months ago
- Check if a path is inside another path☆37Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 3 months ago
- Create an array with values that are present in the first input array but not additional ones☆38Updated 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 8 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Minimal async jobs utility library, with streams support☆24Updated 6 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Updated 3 years ago
- The set of canonical Unicode property names supported in ECMAScript RegExp property escapes.☆11Updated 6 months ago
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆21Updated 3 months ago
- Object.keys shim☆45Updated 2 years ago
- Loop over each item in an array and call the given function on every element.☆14Updated 8 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Updated last year