{"_id":"isndarray","_rev":"4211792","name":"isndarray","description":"Returns boolean whether the argument is a ndarray","dist-tags":{"latest":"1.0.0"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"jaspervdg","email":"th.v.d.gronde@hccnet.nl"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"shama","email":""}],"time":{"modified":"2026-03-04T17:06:39.000Z","created":"2013-07-06T04:20:04.649Z","1.0.0":"2015-07-22T16:05:09.053Z","0.1.0":"2013-07-06T04:20:04.649Z"},"users":{},"author":{"name":"Kyle Robinson Young","email":"kyle@dontkry.com","url":"http://dontkry.com"},"repository":{"type":"git","url":"git://github.com/scijs/isndarray.git"},"versions":{"1.0.0":{"name":"isndarray","description":"Returns boolean whether the argument is a ndarray","version":"1.0.0","homepage":"https://github.com/scijs/isndarray","author":{"name":"Kyle Robinson Young","email":"kyle@dontkry.com","url":"http://dontkry.com"},"repository":{"type":"git","url":"git://github.com/scijs/isndarray.git"},"bugs":{"url":"https://github.com/scijs/isndarray/issues"},"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"],"gitHead":"ff8fc0b913aa641d153fc04810b0684a530fb7c0","_id":"isndarray@1.0.0","_shasum":"67d1d08c61b8b00de8f03e234e030da70104005c","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"shama","email":"kyle@dontkry.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"jaspervdg","email":"th.v.d.gronde@hccnet.nl"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"shama","email":""}],"dist":{"shasum":"67d1d08c61b8b00de8f03e234e030da70104005c","size":1801,"noattachment":false,"key":"/isndarray/-/isndarray-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isndarray/download/isndarray-1.0.0.tgz"},"directories":{},"_cnpmcore_publish_time":"2021-12-19T15:44:01.477Z","publish_time":1437581109053,"_cnpm_publish_time":1437581109053},"0.1.0":{"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","size":1824,"noattachment":false,"key":"/isndarray/-/isndarray-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/isndarray/download/isndarray-0.1.0.tgz"},"_from":".","_npmVersion":"1.2.32","_npmUser":{"name":"shama","email":"kyle@dontkry.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"},{"name":"jaspervdg","email":"th.v.d.gronde@hccnet.nl"},{"name":"mikolalysenko","email":"mikolalysenko@gmail.com"},{"name":"planeshifter","email":"pgb@andrew.cmu.edu"},{"name":"rreusser","email":"rsreusser@gmail.com"},{"name":"shama","email":""}],"directories":{},"_cnpmcore_publish_time":"2021-12-19T15:44:00.626Z","publish_time":1373084404649,"_cnpm_publish_time":1373084404649}},"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","_attachments":{},"homepage":"https://github.com/scijs/isndarray","bugs":{"url":"https://github.com/scijs/isndarray/issues"},"license":"MIT"}