{"name":"isndarray","description":"Returns boolean whether the argument is a ndarray","version":"0.1.0","homepage":"https://github.com/shama/isndarray","author":{"name":"Kyle Robinson Young","email":"kyle@dontkry.com","url":"http://dontkry.com"},"repository":{"type":"git","url":"git://github.com/shama/isndarray.git"},"bugs":{"url":"https://github.com/shama/isndarray/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shama/isndarray/blob/master/LICENSE-MIT"}],"engines":{"node":">= 0.8.0"},"scripts":{"test":"node test.js"},"dependencies":{},"devDependencies":{"tape":"~1.0.4","ndarray":"~1.0.3"},"keywords":["ndarray","array","typed"],"_id":"isndarray@0.1.0","dist":{"shasum":"108fbdd8c1c219aecfa376c92de9eab57a0cf36d","tarball":"http://registry-npm.ywwl.com/isndarray/download/isndarray-0.1.0.tgz","integrity":"sha512-bb0Kzy+1hO2U7q+LOs+OXQsDXARVFxkgl3kSKCNWTug4a4UqcWWCtOqeIruajhG+9qVEr3FGvGCgFWr1+RDgGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCjhk8/7HPldY6SWGrL5MIGm2ydiMOhxM2IUUMY18dzOQIhANgZXu82EoUg980ZVW0XHnWphKo/2ia2Wj2IfUXu/kGg"}],"size":1824,"noattachment":false,"key":"/isndarray/-/isndarray-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"shama","email":"kyle@dontkry.com"},"maintainers":[{"name":"shama","email":"kyle@dontkry.com"}],"directories":{},"readme":"# isndarray\n\nReturns boolean whether the argument is a [ndarray](https://github.com/mikolalysenko/ndarray).\n\n## example\n\n```js\nvar isnd = require('isndarray')\nvar ndarray = require('ndarray')\n\ntrue === isnd(ndarray(new Int8Array(32 * 32), [32, 32]))\ntrue === isnd(ndarray(new Float64Array(32)))\ntrue === isnd(ndarray(new Uint32Array(4 * 4 * 4), [4, 4, 4]))\n\nfalse === isnd(new Int8Array(32 * 32), [32, 32])\nfalse === isnd(new View3dtrick16())\nfalse === isnd(new View3dint8())\n\nfunction View3dtrick16() {\n  this.dtype = 'fake'\n}\nfunction View3dint8() {\n  /* no .dtype */\n}\n```\n\n## API\n`isndarray(arr)` will return boolean whether an ndarray.\n\n## install\n\nWith [npm](https://npmjs.org) do:\n\n```\nnpm install isndarray\n```\n\nUse [browserify](http://browserify.org) to `require('isndarray')`.\n\n## release history\n* 0.1.0 - initial release\n\n## license\nCopyright (c) 2013 Kyle Robinson Young<br/>\nLicensed under the MIT license.\n","publish_time":1373084404649,"_cnpm_publish_time":1373084404649,"dist-tags":{"latest":"1.0.0"}}