inspect-js / is-regexLinks
Is this value a JS regex?
☆24Updated 11 months ago
Alternatives and similar repositories for is-regex
Users that are interested in is-regex are comparing it to the libraries listed below
Sorting:
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆17Updated 11 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated last year
- Invert the key/value of an object. Example: {foo: 'bar'} → {bar: 'foo'}☆37Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Check if a file path is a binary file☆48Updated last year
- Extend object A with the properties of object B. node.js/javascript util.☆33Updated 4 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
- Set an array of unique values as the property of an object. Supports setting deeply nested properties using using object-paths/dot notati…☆24Updated 3 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Check if an object can be used like an Array☆17Updated 2 months ago
- Node's default require extensions as a separate module☆10Updated 3 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆65Updated 2 months ago
- Trim newlines from the start and/or end of a string☆49Updated 2 years ago
- Returns true if a value has the characteristics of a valid JavaScript data descriptor.☆21Updated last year
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 11 months ago
- Detect the dominant newline character of a string☆56Updated 2 years ago
- Check if a path is the current working directory☆21Updated 6 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆49Updated 2 months ago
- Similar to String#trim() but removes only whitespace on the right☆22Updated 4 years ago
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- Create an array with values that are present in the first input array but not additional ones☆40Updated 4 years ago
- Gracefully restore the CLI cursor on exit☆39Updated last year
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago