{"_id":"@math.gl/arrow@5.0.0-beta.5","bugs":{"url":"https://github.com/visgl/math.gl/issues"},"dist":{"shasum":"a217e157ac1295866a203a0d3dc35f8b186192d6","tarball":"http://registry-npm.ywwl.com/@math.gl/arrow/download/@math.gl/arrow-5.0.0-beta.5.tgz","fileCount":204,"integrity":"sha512-2Q8LahH2pWpTnmMQOVZ5X424l9Y9J6rhWLcgcMLw8uhjgm0Pk8uNEgrogMBMPoECsRdTsO9/Mw1Xrl7Z2VZSww==","signatures":[{"sig":"MEYCIQCF2G18eLMPZbWohMCmM7XJz779KErzmgNShtWQ56xHbgIhALTplYRhL3hBslAcl5uj4JcFH9a6mzeq9zM1TACKb9Bt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDYlOu5FV9sqVDXiNT1lrcVf8pa+bSYBjyg03wuwSMn2AiEAqPvd/j8XKnxj8MkDt2ZOtIgzcbWoZQsx8gJjPFUZQgo="}],"unpackedSize":1609226,"size":313300,"noattachment":false,"key":"/@math.gl/arrow/-/@math.gl/arrow-5.0.0-beta.5.tgz"},"main":"dist/index.cjs","name":"@math.gl/arrow","type":"module","types":"dist/index.d.ts","module":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./wkb":{"types":"./dist/wkb/index.d.ts","import":"./dist/wkb/index.js","require":"./dist/wkb/index.cjs"},"./utf8":{"types":"./dist/utf8/index.d.ts","import":"./dist/utf8/index.js","require":"./dist/utf8/index.cjs"},"./geoarrow":{"types":"./dist/geoarrow/index.d.ts","import":"./dist/geoarrow/index.js","require":"./dist/geoarrow/index.cjs"},"./geoarrow-utils":{"types":"./dist/geoarrow-utils/index.d.ts","import":"./dist/geoarrow-utils/index.js","require":"./dist/geoarrow-utils/index.cjs"}},"license":"MIT","version":"5.0.0-beta.5","_npmUser":{"name":"ibgreen","email":"ib@unfolded.ai"},"homepage":"https://github.com/visgl/math.gl#readme","repository":{"url":"git+https://github.com/visgl/math.gl.git","type":"git"},"_npmVersion":"10.9.9","description":"Arrow and GeoArrow binary data utilities","directories":{},"maintainers":[{"name":"ibgreen","email":"ib@unfolded.ai"},{"name":"pessimistress","email":"cxiaoji@gmail.com"}],"sideEffects":false,"_nodeVersion":"22.23.4","dependencies":{"@math.gl/core":"5.0.0-beta.5","@math.gl/geometry":"5.0.0-beta.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"apache-arrow":">=17.0.0"},"peerDependenciesMeta":{"apache-arrow":{"optional":true}},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/arrow_5.0.0-beta.5_1794149817508_0.6122848553123043"},"readme":"# @math.gl/arrow\n\nUtilities for working efficiently with Arrow and GeoArrow binary data in browsers and Node.js.\n\n## Install\n\n```sh\nnpm install @math.gl/arrow\n# Required only for the root and /geoarrow entries:\nnpm install apache-arrow\n```\n\nApache Arrow is an optional peer dependency supporting version 17 and newer.\nThe independent utility subpaths work without it. The package does not depend on loaders.gl\nor geospatial projections; CRS metadata is retained opaquely.\n\n## Entry points\n\n| Import | Purpose | Apache Arrow required |\n| --- | --- | --- |\n| `@math.gl/arrow` | Indexed tables/vectors, schema validation, renaming, buffer ownership, hydration and IPC | Yes |\n| `@math.gl/arrow/utf8` | Compare UTF-8 byte ranges and parse ASCII scalar values | No |\n| `@math.gl/arrow/geoarrow` | Borrow Arrow geometry buffers, inspect metadata, compute bounds, map coordinates, and rewind rings | Yes |\n| `@math.gl/arrow/geoarrow-utils` | Runtime-independent geometry descriptors, builders, kernels, codecs, tessellation, and streaming | No |\n| `@math.gl/arrow/wkb` | Parse/write WKB, EWKB, and WKT; traverse geometry buffers | No |\n\n```typescript\nimport {parseWKT, writeWKB} from '@math.gl/arrow/wkb';\nimport {GeoArrowBuilder, getGeoArrowBounds} from '@math.gl/arrow/geoarrow-utils';\n\nconst point = parseWKT('POINT (1 2)');\nconst bytes = writeWKB(point, 'xy');\nconst column = GeoArrowBuilder.build([point], {encoding: 'geoarrow.point', dimension: 'xy'});\ngetGeoArrowBounds(column); // [1, 2, 1, 2]\n```\n\n## Documentation and examples\n\n- [Arrow utilities](https://math.gl/docs/modules/arrow)\n- [UTF-8](https://math.gl/docs/modules/arrow/utf8)\n- [Arrow-backed GeoArrow](https://math.gl/docs/modules/arrow/geoarrow)\n- [Physical GeoArrow descriptors](https://math.gl/docs/modules/arrow/geoarrow-utils)\n- [WKB and WKT](https://math.gl/docs/modules/arrow/wkb)\n- [Runnable examples](../../examples/README.md): Arrow table processing, worker streaming, and the WKB workbench.\n\nGeographic calculations and CRS interpretation belong in `@math.gl/geospatial`.\nTask execution is provided by `@math.gl/tasks`.\n","publish_time":1794149817626,"_cnpm_publish_time":1794149817626,"dist-tags":{"beta":"5.0.0-beta.11","latest":"5.0.0-beta.5"}}