inspect-js / is-stringLinks
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
☆21Updated 11 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 last year
- 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 11 months ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 5 years ago
- Is this value a JS regex?☆24Updated 11 months ago
- Create an array by repeating the given string n times.☆19Updated 4 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
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago
- ☆37Updated 2 years ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆41Updated 3 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 5 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
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated 2 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆17Updated 11 months 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
- A cache for managing namespaced sub-caches☆14Updated 4 years ago
- Higher-order functions for easier error handling☆13Updated 2 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last week
- Define a non-enumerable property on an object.☆21Updated 2 years ago
- Returns an object with the base path and the actual pattern from a glob.☆17Updated 8 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
- Like `new Map` but for older JavaScripts☆21Updated last month
- ☆19Updated 7 years ago
- Search & replace tokens during the linking stage of ICSS loading☆22Updated 2 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Updated last month
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 3 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Updated last year
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 4 years ago
- Node.js path.dirname() ponyfill☆13Updated 4 years ago