{"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.0.1","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.0.1","dist":{"shasum":"6cae99d074a4ac2d6e5c06efefbf2ab5abb9881a","tarball":"http://registry-npm.ywwl.com/array-pack-2d/download/array-pack-2d-0.0.1.tgz","integrity":"sha512-r82rhlF9xh+RCXXZUfEAPqMqLpsr3um6Yx35gUGXaoMXBLAN7wgmzVHPskDb4gB3/V/gv+PCxSK5HccLIhIdYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDrkaSDOZ0n5JvnmwbBkl08IKbqpNSPe0SRL6i8XVIanAiEAr2v8OMynFITonArSeIMLcYFwLpUNlJTLrjlU5dgDbK4="}],"size":2139,"noattachment":false,"key":"/array-pack-2d/-/array-pack-2d-0.0.1.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":1398091310652,"_cnpm_publish_time":1398091310652,"dist-tags":{"latest":"1.0.0"}}