inspect-js / is-stringLinks
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
☆21Updated 8 months ago
Alternatives and similar repositories for is-string
Users that are interested in is-string are comparing it to the libraries listed below
Sorting:
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 9 months ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- Is this an ES6 Symbol value?☆19Updated 8 months ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 5 years ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆41Updated 2 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- ☆36Updated last year
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆16Updated 9 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated last year
- list of SPDX standard license exceptions☆16Updated last year
- Is this value a JS regex?☆24Updated 8 months ago
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Updated 4 years ago
- Create an array by repeating the given string n times.☆19Updated 4 years ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Updated 4 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆26Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 8 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated last year
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Node.js path.dirname() ponyfill☆13Updated 3 years ago
- A cache for managing namespaced sub-caches☆14Updated 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
- Validates whether a string matches the production for an XML name or qualified name☆15Updated last year
- Returns true if a string has an extglob☆23Updated 6 years ago
- A library of cross-platform tested terminal/console command strings for doing things like color and cursor positioning. This is a subset…☆30Updated 4 years ago
- ☆19Updated 7 years ago
- Higher-order functions for easier error handling☆13Updated 2 years ago