{"_id":"@atlas-composer/preset-library","_rev":"2-5f80abeb7d788e192c67e42952283c8e","name":"@atlas-composer/preset-library","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@atlas-composer/preset-library","version":"1.0.0","keywords":["atlas-composer","cartography","composite-projection","d3-geo","france","map-projection","portugal","presets","usa"],"author":{"url":"ShallowRed","name":"Lucas Poulain"},"license":"MIT","_id":"@atlas-composer/preset-library@1.0.0","maintainers":[{"name":"shallowred","email":"lucaspoulain2@gmail.com"}],"homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/preset-library#readme","bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"dist":{"shasum":"da75bf622e146e5969f89e7e6f57f275c2e646cc","tarball":"https://registry.npmjs.org/@atlas-composer/preset-library/-/preset-library-1.0.0.tgz","fileCount":26,"integrity":"sha512-wryrjqUkUEDrnNQhnR/yVrzVMjbYhNcCKPDu4zdzsIVC9LUmGIS4kN6AGL50c1M/tGVJfCi11MKrwOxtc91K/g==","signatures":[{"sig":"MEUCIAqqpLGdhYvv+zMx7PaoSobxrYqvJHIOG5WovprfRYD2AiEAgjVTN7Om/v1eIXI/JET8rquQXwF1k8uCOKMWYO6j2k8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":223509},"main":"./dist/index.js","type":"module","_from":"file:atlas-composer-preset-library-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./usa/*":{"import":"./presets/usa/*.json"},"./world/*":{"import":"./presets/world/*.json"},"./europe/*":{"import":"./presets/europe/*.json"},"./france/*":{"import":"./presets/france/*.json"},"./portugal/*":{"import":"./presets/portugal/*.json"}},"scripts":{"dev":"tsup --watch","build":"tsup","typecheck":"tsc --noEmit"},"_npmUser":{"name":"shallowred","email":"lucaspoulain2@gmail.com"},"_resolved":"/private/var/folders/d_/w92hqdmx3t1cqt23zglmhh880000gn/T/1d6ef4b6c0ba1b4114b5efb10379e69f/atlas-composer-preset-library-1.0.0.tgz","_integrity":"sha512-wryrjqUkUEDrnNQhnR/yVrzVMjbYhNcCKPDu4zdzsIVC9LUmGIS4kN6AGL50c1M/tGVJfCi11MKrwOxtc91K/g==","repository":{"url":"git+https://github.com/ShallowRed/atlas-composer.git","type":"git","directory":"packages/preset-library"},"_npmVersion":"10.8.2","description":"Curated collection of composite map projection presets for Atlas Composer","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@atlas-composer/specification":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","typescript":"~5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/preset-library_1.0.0_1768664413297_0.32782214705589086","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@atlas-composer/preset-library","type":"module","version":"1.0.1","description":"Curated collection of composite map projection presets for Atlas Composer","author":{"name":"Lucas Poulain","url":"ShallowRed"},"license":"MIT","homepage":"https://github.com/ShallowRed/atlas-composer/tree/main/packages/preset-library#readme","repository":{"type":"git","url":"git+https://github.com/ShallowRed/atlas-composer.git","directory":"packages/preset-library"},"bugs":{"url":"https://github.com/ShallowRed/atlas-composer/issues"},"keywords":["atlas-composer","cartography","composite-projection","d3-geo","france","map-projection","portugal","presets","usa"],"sideEffects":false,"publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./france/*":{"import":"./presets/france/*.json"},"./portugal/*":{"import":"./presets/portugal/*.json"},"./usa/*":{"import":"./presets/usa/*.json"},"./europe/*":{"import":"./presets/europe/*.json"},"./world/*":{"import":"./presets/world/*.json"}},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","dependencies":{"@atlas-composer/specification":"1.0.1"},"devDependencies":{"tsup":"^8.0.0","typescript":"~5.9.3"},"scripts":{"build":"tsup","dev":"tsup --watch","typecheck":"tsc --noEmit"},"_id":"@atlas-composer/preset-library@1.0.1","_integrity":"sha512-3csNc5KmHccl3Gi6DYDXmXOODBl6e5iFWUfxKydBdqf8MCZYYuBamAO2PRgVRX1cGzpT3nIXa3Fy5vpLH4JwMA==","_resolved":"/private/var/folders/d_/w92hqdmx3t1cqt23zglmhh880000gn/T/709429add87d43867440136eb6ba35e6/atlas-composer-preset-library-1.0.1.tgz","_from":"file:atlas-composer-preset-library-1.0.1.tgz","_nodeVersion":"20.19.6","_npmVersion":"10.8.2","dist":{"integrity":"sha512-3csNc5KmHccl3Gi6DYDXmXOODBl6e5iFWUfxKydBdqf8MCZYYuBamAO2PRgVRX1cGzpT3nIXa3Fy5vpLH4JwMA==","shasum":"b75478d6378643b0c7fb97ea26361814e8108008","tarball":"https://registry.npmjs.org/@atlas-composer/preset-library/-/preset-library-1.0.1.tgz","fileCount":26,"unpackedSize":223509,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDtJrcFKK7rOq1FTrZ3KBTCcX088lX7wPjBEtGni8t34AiApF+NyrD5ZBvxLvvVyH496HmG2ZM3FJ1733Oh3+UOdLA=="}]},"_npmUser":{"name":"shallowred","email":"lucaspoulain2@gmail.com"},"directories":{},"maintainers":[{"name":"shallowred","email":"lucaspoulain2@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/preset-library_1.0.1_1768664539259_0.9665666307953957"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-17T15:40:13.207Z","modified":"2026-01-17T15:42:19.545Z","1.0.0":"2026-01-17T15:40:13.532Z","1.0.1":"2026-01-17T15:42:19.420Z"},"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/preset-library#readme","keywords":["atlas-composer","cartography","composite-projection","d3-geo","france","map-projection","portugal","presets","usa"],"repository":{"type":"git","url":"git+https://github.com/ShallowRed/atlas-composer.git","directory":"packages/preset-library"},"description":"Curated collection of composite map projection presets for Atlas Composer","maintainers":[{"name":"shallowred","email":"lucaspoulain2@gmail.com"}],"readme":"# @atlas-composer/preset-library\n\n> A curated collection of composite map presets.\n\nThis package provides ready-to-use configurations for common composite maps (like France with its territories, the USA, etc.). It is designed to work with `@atlas-composer/projection-loader`.\n\n## 🚀 Usage\n\n```bash\nnpm install @atlas-composer/preset-library @atlas-composer/projection-loader\n```\n\n```typescript\nimport { getPreset } from '@atlas-composer/preset-library'\nimport { loadCompositeProjection, registerProjection } from '@atlas-composer/projection-loader'\nimport * as d3 from 'd3-geo'\n\n// ... register D3 projections ...\n\n// 1. Fetch a standard preset\nconst config = await getPreset('france-standard')\n\n// 2. Load it into a usable projection\nif (config) {\n  const projection = loadCompositeProjection(config, { width: 800, height: 600 })\n  // ... render with D3\n}\n```\n\n## 📦 Available Presets\n\n- **France**: `france-standard` (Composite), `france-unify` (Unified)\n- **USA**: `usa-albers` (Composite)\n- **Europe**: `europe-lambert` (Composite)\n- And more...\n\nSee the catalog source or the Atlas Composer app for a visual preview.\n","readmeFilename":"README.md"}