Showing 1-20 of 7,371 packages
Node module. typeOf('a string') == 'string', typeOf([]) == 'array', etc.. Also supports named functions detections aka javascript classes
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
Improved typeof detection for node.js and the browser.
Type assertions aka less-broken `typeof`
less broken typeof
This transformer wraps all typeof expressions with a method that replicates native behaviour. (ie. returning “symbol” for symbols)
Just a reasonable typeof
A better typeof for JavaScript.
Type assertions aka less-broken typeof.
ESLint rule to avoid typeof window === 'undefined' for SSR check
typeof number, or use a default
🐊Putout plugin adds ability to remove useless typeof
Cross-browser type assertions (less broken typeof)
less broken typeof
[](https://travis-ci.org/cancerberoSgx/jsdoc-typeof-plugin) [](https://david-dm.org/cancer
Babel plugin that replaces member expressions and typeof statements with strings
Ponyfill of built-in `typeof` operator.
Simple module to get instance type. Like a bit more advanced version of typeof
🐊Putout plugin adds ability to convert typeof to is type
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.