{"name":"array-pack-2d","description":"Quickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format","version":"0.1.0","main":"index.js","dependencies":{"dtype":"^0.1.0"},"devDependencies":{"tape":"^2.12.3","faucet":"^0.0.1"},"scripts":{"test":"node test | faucet"},"author":{"name":"Hugh Kennedy","email":"hughskennedy@gmail.com","url":"http://hughsk.io/"},"license":"MIT","homepage":"http://hughsk.github.io/array-pack-2d","repository":{"type":"git","url":"git://github.com/hughsk/array-pack-2d"},"bugs":{"url":"https://github.com/hughsk/array-pack-2d/issues"},"keywords":["array","2d","pack","mesh","points","nested","flat"],"_id":"array-pack-2d@0.1.0","dist":{"shasum":"b78f6b4cf601c1cecb3d48f74076a24eb4b3f5bb","tarball":"http://registry-npm.ywwl.com/array-pack-2d/download/array-pack-2d-0.1.0.tgz","integrity":"sha512-G18dmmTcR2Vja+koXJV0MqL/3TtMYKyJK6oJiqI4/Z18f5L96qtAoy16dlXlia0AMkikOeW7Djgrd5tbDhDrwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEMktiOxxUEEGg/ku4o9lFuSRZofJICykad5GCIxIS0IAiEAjSG8YrpPtID+tJwEUAcgQR1olH7KBjhjLuywYC37ZO4="}],"size":2210,"noattachment":false,"key":"/array-pack-2d/-/array-pack-2d-0.1.0.tgz"},"_from":".","_npmVersion":"1.4.4","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"directories":{},"readme":"# array-pack-2d [![experimental](http://hughsk.github.io/stability-badges/dist/experimental.svg)](http://github.com/hughsk/stability-badges) #\n\nQuickly pack a nested 2D array into a typed array – useful for flattening point data into a WebGL-friendly format.\n\n## Usage ##\n\n[![array-pack-2d](https://nodei.co/npm/array-pack-2d.png?mini=true)](https://nodei.co/npm/array-pack-2d)\n\n### packed = pack(array, [type]) ###\n\nTakes a nested 2D `array` and packs it into a flat, `packed` one. By default\nthis will be a `Float32Array`, but you can specify a custom `type` too: this\ncan be a constructor such as `Uint8Array`, or a\n[dtype](http://github.com/shama/dtype) string such as `\"float32\"` or `\"uint8\"`.\n\n## License ##\n\nMIT. See [LICENSE.md](http://github.com/hughsk/array-pack-2d/blob/master/LICENSE.md) for details.\n","publish_time":1398110098512,"_cnpm_publish_time":1398110098512,"dist-tags":{"latest":"1.0.0"}}