inspect-js / is-callable
Is this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
☆41Updated last year
Related projects: ⓘ
- Find the module object for something that was require()d☆26Updated last year
- Is this an ES6 Symbol value?☆18Updated last year
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated last month
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Track the list of currently unhandled promise rejections☆24Updated 5 years ago
- Fill in a range of numbers or letters, positive or negative, optionally passing an increment or multiplier to use.☆54Updated last month
- A replacement for process.exit that ensures stdio are fully drained before exiting.☆65Updated 2 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 5 years ago
- ECMAScript "ToPrimitive" algorithm. Provides ES5 and ES6/ES2015 versions.☆23Updated last year
- ES spec-compliant shim for String.prototype.padStart☆23Updated 5 months ago
- Object.keys shim☆45Updated last year
- Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.☆20Updated last year
- Give me a string and I'll tell you if it's a valid npm package license string☆24Updated 3 years ago
- Convert directories to glob compatible strings☆44Updated 4 years ago
- Check if a file is executable☆31Updated 6 years ago
- Returns the directory used by NPM for globally installed NPM packages.☆35Updated 5 years ago
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆26Updated 11 months ago
- fs read and write streams based on minipass☆21Updated 2 months ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 3 years ago
- ES6-compliant shim for Object.is - differentiates between -0 and +0, and can compare to NaN.☆25Updated 6 months ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆34Updated 3 years ago
- Callback wrapping utility☆55Updated 7 months ago
- Timeout HTTP/HTTPS requests☆52Updated 3 years ago
- ☆27Updated 3 years ago
- Repeat a string - fast☆34Updated 3 years ago
- Determine if the JS environment has Symbol support. Supports spec, or shams.☆15Updated last month
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 2 years ago
- set blocking stdio and stderr ensuring that terminal output does not truncate☆37Updated 9 months ago
- Expand placeholders in a template string☆18Updated 3 years ago
- Object of "void elements" as defined by the WHATWG HTML Standard.☆25Updated last year