{"_id":"@jkroso/type","_rev":"3018235","name":"@jkroso/type","description":"less broken typeof","dist-tags":{"latest":"2.0.0"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"time":{"modified":"2023-11-02T08:18:56.000Z","created":"2015-12-25T00:50:57.876Z","2.0.0":"2016-05-22T11:08:12.754Z","1.1.1":"2015-12-25T00:50:57.876Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/jkroso/type.git"},"versions":{"2.0.0":{"name":"@jkroso/type","description":"less broken typeof","version":"2.0.0","dependencies":{},"devDependencies":{"assert":"github:jkroso/assert","serve":"github:jkroso/serve","future-node":"*","hydro-html":"1","hydro-bdd":"0","hydro-dot":"2","hydro":"0"},"transpile":[["{index,test/*}.js","!sourcegraph/babel->js",{"stage":2}]],"keywords":["typeof","type","utility"],"files":["index.js"],"repository":{"type":"git","url":"git+https://github.com/jkroso/type.git"},"license":"MIT","gitHead":"c1fba421cad207da7dfc5bce48831deb256cb52b","bugs":{"url":"https://github.com/jkroso/type/issues"},"homepage":"https://github.com/jkroso/type#readme","_id":"@jkroso/type@2.0.0","scripts":{},"_shasum":"d00010d1396e3e99932b6246cc480bafa8134f9b","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"jkroso","email":"jkroso@gmail.com"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"dist":{"shasum":"d00010d1396e3e99932b6246cc480bafa8134f9b","size":2017,"noattachment":false,"key":"/@jkroso/type/-/@jkroso/type-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@jkroso/type/download/@jkroso/type-2.0.0.tgz"},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/type-2.0.0.tgz_1463915290393_0.9545485782437027"},"directories":{},"publish_time":1463915292754,"_hasShrinkwrap":false,"_cnpm_publish_time":1463915292754,"_cnpmcore_publish_time":"2021-12-16T15:08:07.926Z"},"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":"87ebac68638bcb51128cb482cc69a6b190a1604f","bugs":{"url":"https://github.com/jkroso/type/issues"},"homepage":"https://github.com/jkroso/type#readme","_id":"@jkroso/type@1.1.1","scripts":{},"_shasum":"22903a346f633f2c65c0f6a938caafc43f181f17","_from":".","_npmVersion":"3.5.3","_nodeVersion":"5.2.0","_npmUser":{"name":"jkroso","email":"jkroso@gmail.com"},"maintainers":[{"name":"jkroso","email":"jkroso@gmail.com"}],"dist":{"shasum":"22903a346f633f2c65c0f6a938caafc43f181f17","size":1999,"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":1451004657876,"_hasShrinkwrap":false,"_cnpm_publish_time":1451004657876,"_cnpmcore_publish_time":"2021-12-16T15:08:08.453Z"}},"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"}