inspect-js / is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
☆41Updated 2 years ago
Related projects ⓘ
Alternatives and complementary repositories for is-callable
- Is this an ES6 Symbol value?☆18Updated 2 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 3 months ago
- Find the module object for something that was require()d☆26Updated last year
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated 2 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Utility method to run function either synchronously or asynchronously using the common `this.async()` style.☆23Updated last year
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- ES6 spec-compliant Function.prototype.name sham.☆11Updated last year
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago
- ES spec-compliant shim for String.prototype.padStart☆23Updated 8 months ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Modern Buffer API polyfill without footguns☆26Updated 3 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated last year
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated 3 months ago
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Define a non-enumerable property on an object.☆21Updated last year
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- timers module for browserify☆24Updated 3 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Check if an object can be used like an Array☆16Updated 3 years ago
- Returns an array of unique values using strict equality for comparisons, maintaining the same order as the provided arrays.☆25Updated 4 years ago
- Get the npm global path prefix. Same code used internally by npm.☆28Updated 3 months ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Wait for a specified number of promises to be fulfilled☆36Updated last year
- Strip the final newline character from a string/buffer☆35Updated 3 weeks ago
- List of node.js builtin modules☆38Updated 7 months ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆15Updated 3 months ago
- Timeout HTTP/HTTPS requests☆52Updated 3 years ago