{"_id":"jkroso-type","_rev":"3018167","name":"jkroso-type","description":"less broken typeof","dist-tags":{"latest":"1.1.1"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"time":{"modified":"2023-11-02T08:18:49.000Z","created":"2015-10-01T05:30:34.657Z","1.1.1":"2015-10-15T07:07:04.845Z","1.1.0":"2015-10-01T05:30:34.657Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/jkroso/type.git"},"versions":{"1.1.1":{"name":"jkroso-type","description":"less broken typeof","version":"1.1.1","dependencies":{},"devDependencies":{"assert":"github:jkroso/assert","serve":"github:jkroso/serve","babel-core":"*","hydro-html":"1","hydro-bdd":"0","hydro-dot":"2","hydro":"0"},"transpile":[["{index,test/*}.js","!sourcegraph/babel->js"]],"keywords":["typeof","type","utility"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/jkroso/type.git"},"license":"MIT","gitHead":"1e1cc67846f59affd1ddc67de05b6fdb02a84aaf","bugs":{"url":"https://github.com/jkroso/type/issues"},"homepage":"https://github.com/jkroso/type#readme","_id":"jkroso-type@1.1.1","scripts":{},"_shasum":"bc4ced6d6c45fe0745282bafc86a9f8c4fc9ce61","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.0","_npmUser":{"name":"jkroso","email":"jkroso@gmail.com"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"dist":{"shasum":"bc4ced6d6c45fe0745282bafc86a9f8c4fc9ce61","size":1988,"noattachment":false,"key":"/jkroso-type/-/jkroso-type-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/jkroso-type/download/jkroso-type-1.1.1.tgz"},"directories":{},"publish_time":1444892824845,"_hasShrinkwrap":false,"_cnpm_publish_time":1444892824845,"_cnpmcore_publish_time":"2021-12-16T15:08:01.375Z"},"1.1.0":{"name":"jkroso-type","description":"less broken typeof","version":"1.1.0","dependencies":{},"devDependencies":{"assert":"github:jkroso/assert","serve":"github:jkroso/serve","hydro-html":"1","hydro-bdd":"0","hydro-dot":"2","hydro":"0"},"keywords":["typeof","type","utility"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/jkroso/type.git"},"license":"MIT","gitHead":"1d130a63577a7db1762f13abfc401ad89a48c740","bugs":{"url":"https://github.com/jkroso/type/issues"},"homepage":"https://github.com/jkroso/type#readme","_id":"jkroso-type@1.1.0","scripts":{},"_shasum":"d2f5600a6d9c82595edd862c3e9f9f7c1529bddb","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"jkroso","email":"jkroso@gmail.com"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"dist":{"shasum":"d2f5600a6d9c82595edd862c3e9f9f7c1529bddb","size":1854,"noattachment":false,"key":"/jkroso-type/-/jkroso-type-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/jkroso-type/download/jkroso-type-1.1.0.tgz"},"directories":{},"publish_time":1443677434657,"_hasShrinkwrap":false,"_cnpm_publish_time":1443677434657,"_cnpmcore_publish_time":"2021-12-16T15:08:01.561Z"}},"readme":"# type\n\n  Type assertions aka less-broken `typeof`.\n\n## API\n\n```js\nvar type = require('type')\ntype(new Date) // => 'date'\ntype({}) // => 'object'\ntype(null) // => 'null'\ntype(undefined) // => 'undefined'\ntype(\"hey\") // => 'string'\ntype(true) // => 'boolean'\ntype(false) // => 'boolean'\ntype(12) // => 'number'\ntype(type) // => 'function'\ntype(/asdf/) // => 'regexp'\ntype((function(){ return arguments })()) // => 'arguments'\ntype([]) // => 'array'\ntype(new Uint8Array) // => 'bit-array'\ntype(document.createElement('div')) // => 'element'\n```\n","_attachments":{},"homepage":"https://github.com/jkroso/type#readme","bugs":{"url":"https://github.com/jkroso/type/issues"},"license":"MIT"}