Package Exports
- typeof
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (typeof) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
typeof
small node.js module that extends functionality of native typeof inspired by Batman.js typeOf util
Usage:
$ npm install typeof
var typeOf = require('typeof');
console.log(typeOf("a string"));
console.log(typeOf([1, 2, 3, "array"]));
console.log(typeOf(null));
"string"
"array"
"null"