inspect-js / is-stringLinks
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
☆21Updated 10 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:
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last year
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆22Updated 11 months ago
- Is this an ES6 Symbol value?☆19Updated 10 months ago
- Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.☆41Updated 2 years ago
- One promise for multiple requests in flight to avoid async duplication☆16Updated 5 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆17Updated 10 months ago
- The map of HTTP status codes from the builtin http module☆19Updated 3 years ago
- ☆36Updated 2 years ago
- Is this value a JS regex?☆24Updated 10 months ago
- Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.☆15Updated 2 years ago
- Error comparison and information related utility for node and the browser☆15Updated 3 months ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Updated last year
- Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.☆32Updated 4 years ago
- Create an array by repeating the given string n times.☆19Updated 4 years ago
- Make a glob pattern absolute, ensuring that negative globs and patterns with trailing slashes are correctly handled.☆18Updated 2 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
- Get the command from a shebang☆24Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 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
- Higher-order functions for easier error handling☆13Updated 2 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆24Updated 4 years ago
- Returns true if a string has an extglob☆23Updated 6 years ago
- ☆19Updated 7 years ago
- Node.js path.dirname() ponyfill☆13Updated 3 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆27Updated 4 years ago
- WeakMap collection as specified in ECMAScript6☆30Updated 4 years ago
- Spec-compliant shim for `Object.getOwnPropertyDescriptors` that works in ES5.☆20Updated last year
- 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 an object with the base path and the actual pattern from a glob.☆17Updated 8 years ago
- Modern Buffer API polyfill without footguns☆26Updated 4 years ago