{"_id":"@atlas-composer/projection-core","_rev":"3-573ce13419e27a338c853a30448003eb","name":"@atlas-composer/projection-core","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@atlas-composer/projection-core","version":"1.0.0","keywords":["cartography","composite","d3","d3-geo","geography","gis","map","projection","zero-dependencies"],"author":{"url":"ShallowRed","name":"Lucas Poulain"},"license":"MIT","_id":"@atlas-composer/projection-core@1.0.0","maintainers":[{"name":"shallowred","email":"lucaspoulain2@gmail.com"}],"homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/projection-core#readme","bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"dist":{"shasum":"1d75051f1b7672d110e2f0fd8edd6071db55ffc9","tarball":"https://registry.npmjs.org/@atlas-composer/projection-core/-/projection-core-1.0.0.tgz","fileCount":6,"integrity":"sha512-fCkdmc0uiFpmEKANuqB47fPpcLgjsTlM3NssXa4Kur7jaKl6rZFugeXYZow0SLBWiCObaFSQBfZUF8iUrTNGsQ==","signatures":[{"sig":"MEQCIBro4mW1EvXFFdEmCGYHsMXXKXTmuSp+HjMuCOYr1Y7hAiAb5a67mEUqbr3yMrACkptH2h6wU2GnHuYhfh2n8MGpUQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48747},"main":"./dist/index.js","type":"module","_from":"file:atlas-composer-projection-core-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"shallowred","email":"lucaspoulain2@gmail.com"},"_resolved":"/private/var/folders/d_/w92hqdmx3t1cqt23zglmhh880000gn/T/7eb8ead41456395dffb8ad214955f798/atlas-composer-projection-core-1.0.0.tgz","_integrity":"sha512-fCkdmc0uiFpmEKANuqB47fPpcLgjsTlM3NssXa4Kur7jaKl6rZFugeXYZow0SLBWiCObaFSQBfZUF8iUrTNGsQ==","repository":{"url":"git+https://github.com/ShallowRed/atlas-composer.git","type":"git","directory":"packages/projection-core"},"_npmVersion":"10.8.2","description":"Core utilities for composite map projections. Zero-dependency pure functions for stream handling, bounds checking, and projection composition.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/projection-core_1.0.0_1768664413233_0.2931382229435606","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@atlas-composer/projection-core","version":"1.0.1","keywords":["cartography","composite","d3","d3-geo","geography","gis","map","projection","zero-dependencies"],"author":{"url":"ShallowRed","name":"Lucas Poulain"},"license":"MIT","_id":"@atlas-composer/projection-core@1.0.1","maintainers":[{"name":"shallowred","email":"lucaspoulain2@gmail.com"}],"homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/projection-core#readme","bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"dist":{"shasum":"546499c3b35b2f2801a806cfc0a4d71271b50fb1","tarball":"https://registry.npmjs.org/@atlas-composer/projection-core/-/projection-core-1.0.1.tgz","fileCount":6,"integrity":"sha512-ADiXVDy3HjQ1tP1TKdrQC7zBhYqZz9rjxky9tpymhnSIOfZR+AjRnNkJW6/iGx0DXmYvbYAjGjvXYg2kPPlNdQ==","signatures":[{"sig":"MEUCIQDLyCPzbFgd3dbpwMgXkWpExU6e0VJkmnBVp1UUqn71yAIgIE3aLml5DRhPsrs4pvq8E2jjtgKTU8MJUvG/1S/9Kmg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":48747},"main":"./dist/index.js","type":"module","_from":"file:atlas-composer-projection-core-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"shallowred","email":"lucaspoulain2@gmail.com"},"_resolved":"/private/var/folders/d_/w92hqdmx3t1cqt23zglmhh880000gn/T/37519b031bd024490b879d45ff6faa65/atlas-composer-projection-core-1.0.1.tgz","_integrity":"sha512-ADiXVDy3HjQ1tP1TKdrQC7zBhYqZz9rjxky9tpymhnSIOfZR+AjRnNkJW6/iGx0DXmYvbYAjGjvXYg2kPPlNdQ==","repository":{"url":"git+https://github.com/ShallowRed/atlas-composer.git","type":"git","directory":"packages/projection-core"},"_npmVersion":"10.8.2","description":"Core utilities for composite map projections. Zero-dependency pure functions for stream handling, bounds checking, and projection composition.","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2"},"_npmOperationalInternal":{"tmp":"tmp/projection-core_1.0.1_1768664539264_0.4304169998173526","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@atlas-composer/projection-core","type":"module","version":"1.0.2","description":"Core utilities for composite map projections. Zero-dependency pure functions for stream handling, bounds checking, and projection composition.","author":{"name":"Lucas Poulain","url":"ShallowRed"},"license":"MIT","homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/projection-core#readme","repository":{"type":"git","url":"git+https://github.com/ShallowRed/atlas-composer.git","directory":"packages/projection-core"},"bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"keywords":["cartography","composite","d3","d3-geo","geography","gis","map","projection","zero-dependencies"],"sideEffects":false,"publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2"},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit"},"_id":"@atlas-composer/projection-core@1.0.2","_integrity":"sha512-XJoS9BGo4KWktICQFnRvf7hn28BumjyZaD/UmWc34zfCCA5M0zmk3ijxDX191f6n1DKfirdr9mF5AcXy+FoUaQ==","_resolved":"/private/var/folders/d_/w92hqdmx3t1cqt23zglmhh880000gn/T/1829a61b93184490036688e2096cb02f/atlas-composer-projection-core-1.0.2.tgz","_from":"file:atlas-composer-projection-core-1.0.2.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-XJoS9BGo4KWktICQFnRvf7hn28BumjyZaD/UmWc34zfCCA5M0zmk3ijxDX191f6n1DKfirdr9mF5AcXy+FoUaQ==","shasum":"54edaa769b49e83b061c1f6db24f798e82ec66c1","tarball":"https://registry.npmjs.org/@atlas-composer/projection-core/-/projection-core-1.0.2.tgz","fileCount":7,"unpackedSize":28936,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIElaJjBxUSw0pHZtf+A+NZOY9/AMZDgf/6tlXoz9vWmfAiAoL6xheQBp1Bx1qXskryABwNiAImTPUIDR0ftcwr3iXA=="}]},"_npmUser":{"name":"shallowred","email":"dev@lucaspoulain.com"},"directories":{},"maintainers":[{"name":"shallowred","email":"dev@lucaspoulain.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/projection-core_1.0.2_1768820393233_0.7307336210674218"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-17T15:40:13.180Z","modified":"2026-01-19T10:59:53.485Z","1.0.0":"2026-01-17T15:40:13.383Z","1.0.1":"2026-01-17T15:42:19.412Z","1.0.2":"2026-01-19T10:59:53.370Z"},"bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"author":{"name":"Lucas Poulain","url":"ShallowRed"},"license":"MIT","homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/projection-core#readme","keywords":["cartography","composite","d3","d3-geo","geography","gis","map","projection","zero-dependencies"],"repository":{"type":"git","url":"git+https://github.com/ShallowRed/atlas-composer.git","directory":"packages/projection-core"},"description":"Core utilities for composite map projections. Zero-dependency pure functions for stream handling, bounds checking, and projection composition.","maintainers":[{"name":"shallowred","email":"dev@lucaspoulain.com"}],"readme":"# @atlas-composer/projection-core\n\n> Low-level projection and stream utilities.\n\nThis package contains the mathematical core and stream manipulation logic used by `@atlas-composer/projection-loader` and the main application. It provides pure, zero-dependency tools for building complex map projections.\n\n## 🔧 Core Functions\n\n- **Stream Multiplexing**: Splits a D3 geo stream into multiple branches (for creating composite views).\n- **Bounds Calculation**: Utilities for measuring projected geometry.\n- **Coordinate Transformation**: Helpers for managing complex projection pipelines.\n\n> **Note:** Most users should use `@atlas-composer/projection-loader` instead of this package directly.\n\n## 🙏 Acknowledgments\n\nThis package is derived from [d3-geo](https://github.com/d3/d3-geo) by [Mike Bostock](https://github.com/mbostock) (ISC License), with inspiration from [d3-composite-projections](https://github.com/rveciana/d3-composite-projections) by [Roger Veciana](https://github.com/rveciana). See [NOTICES.md](./NOTICES.md) for details.\n\n## 📄 License\n\nMIT © [ShallowRed](https://github.com/ShallowRed)\n","readmeFilename":"README.md"}