{"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.1","main":"index.js","dependencies":{"dtype":"^1.0.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"],"gitHead":"a6db81a37f15b0168cb4b94b46b0ffe46fa511c5","_id":"array-pack-2d@0.1.1","_shasum":"bdbdcf2f7fb19bfb8e06fbf01d8bc8c664b4693d","_from":".","_npmVersion":"2.7.5","_nodeVersion":"0.10.36","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"bdbdcf2f7fb19bfb8e06fbf01d8bc8c664b4693d","tarball":"http://registry-npm.ywwl.com/array-pack-2d/download/array-pack-2d-0.1.1.tgz","integrity":"sha512-fr0MPD/Q7DXewQNGDYqW9hUpLUgXBJk+Pd1HzGuz3LiUwc0Zf5gZjuZrmqrePxp0mi7gsLJlWn4CCx+cXA/U1A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwZutk9GOxZQRTnsll1eSM6KKotm1PydgpDGIbf1ERUgIhAPdJpzoadoCk1bGUZiJwVhUQ0PDDMeZADnYoEbc8VdNY"}],"size":2189,"noattachment":false,"key":"/array-pack-2d/-/array-pack-2d-0.1.1.tgz"},"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":1432532709589,"_cnpm_publish_time":1432532709589,"dist-tags":{"latest":"1.0.0"}}