{"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":"1.0.0","main":"index.js","dependencies":{"dtype":"^2.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.git"},"bugs":{"url":"https://github.com/hughsk/array-pack-2d/issues"},"keywords":["array","2d","pack","mesh","points","nested","flat"],"gitHead":"ba586c10426f67b446f7a0ecb261fc2643016357","_id":"array-pack-2d@1.0.0","_shasum":"684fbdeda7e4e9f68333fd7fe72c868a35b4bd9a","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"hughsk","email":"hughskennedy@gmail.com"},"dist":{"shasum":"684fbdeda7e4e9f68333fd7fe72c868a35b4bd9a","tarball":"http://registry-npm.ywwl.com/array-pack-2d/download/array-pack-2d-1.0.0.tgz","integrity":"sha512-+NcT+aWc+cvx5ItsGgR8K0yRW+tSY2BRkH34nArvnbQja0uhIqVZiwvzaRrhX8r4qb9UUh0/pkna91TKdVWOvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSqAlU6XJmImufYxCfVEMipZrwED7ooAYHsoRV43WogwIgRZ66HWM60zN+tyC5Pf7hu8BGbPvTbj3qQCwxqqeUnCY="}],"size":2186,"noattachment":false,"key":"/array-pack-2d/-/array-pack-2d-1.0.0.tgz"},"maintainers":[{"name":"hughsk","email":"hughskennedy@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/array-pack-2d-1.0.0.tgz_1468661419523_0.8406579052098095"},"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":1468661419777,"_cnpm_publish_time":1468661419777,"dist-tags":{"latest":"1.0.0"}}