{"_id":"@alexandremasy/icons","_rev":"2-01fa5ab6bccd83ab75e362b6cc21b459","name":"@alexandremasy/icons","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@alexandremasy/icons","version":"0.1.0","keywords":["icons","react","svg","design-system","alexandremasy"],"author":{"name":"Alexandre Masy"},"license":"MIT","_id":"@alexandremasy/icons@0.1.0","maintainers":[{"name":"alexandremasy","email":"hello@alexandremasy.com"}],"homepage":"https://github.com/alexandremasy/alexandremasy-icons#readme","bugs":{"url":"https://github.com/alexandremasy/alexandremasy-icons/issues"},"dist":{"shasum":"93cf5b51e6bdec15d948528745b9c92869c1f790","tarball":"https://registry.npmjs.org/@alexandremasy/icons/-/icons-0.1.0.tgz","fileCount":8713,"integrity":"sha512-zdDSJH27gwAJyTnnpjBIFIAIAO+yhsgLkgmMOZRNJ4+x2oQcFuEY7q6ZR9XUvoy6VngQ5V2+evztGrS3k6Jv2g==","signatures":[{"sig":"MEUCIQD/J/CCWtWlOulMH72LSVMreb/7Yes6jKZA6m3EO/AJ6wIgMNS9Cek0xWYiBBpWnqA3hd/fL4PLDEwMTliWvP/NW0A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3616123},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"gitHead":"85436040bc86e4ce6e50d5ed6334f6fd402fbbd7","scripts":{"test":"bun test","build":"bun run build:icons && bun run build:react && bun run build:package","check":"bun run scripts/check.ts","build:icons":"bun run scripts/build-icons.ts","build:react":"bun run scripts/build-react.ts","build:package":"bunx tsc -p tsconfig.build.json","prepublishOnly":"bun run build:package && bun run check && bun test"},"_npmUser":{"name":"alexandremasy","email":"hello@alexandremasy.com"},"repository":{"url":"git+https://github.com/alexandremasy/alexandremasy-icons.git","type":"git"},"_npmVersion":"11.16.0","description":"The alexandremasy icon library as React components: 4.353 icons, 24px canvas, stroke 2, currentColor.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"react":"^19","react-dom":"^19","typescript":"^5","@types/node":"^22","@types/react":"^19","@tabler/icons":"3.46.0","@types/react-dom":"^19"},"peerDependencies":{"react":">=18"},"_npmOperationalInternal":{"tmp":"tmp/icons_0.1.0_1788274395319_0.32285670250988585","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@alexandremasy/icons","version":"0.1.1","description":"The alexandremasy icon library as React components: 4.353 icons, 24px canvas, stroke 2, currentColor.","license":"MIT","author":{"name":"Alexandre Masy"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./package.json":"./package.json"},"sideEffects":false,"keywords":["icons","react","svg","design-system","alexandremasy"],"repository":{"type":"git","url":"git+https://github.com/alexandremasy/alexandremasy-icons.git"},"homepage":"https://github.com/alexandremasy/alexandremasy-icons#readme","publishConfig":{"access":"public"},"scripts":{"build":"bun run build:icons && bun run build:react && bun run build:package","build:icons":"bun run scripts/build-icons.ts","build:react":"bun run scripts/build-react.ts","build:package":"bunx tsc -p tsconfig.build.json","check":"bun run scripts/check.ts","test":"bun test","prepublishOnly":"bun run build:package && bun run check && bun test && bun run check:node","check:node":"bun run scripts/check-node-resolution.ts"},"peerDependencies":{"react":">=18"},"devDependencies":{"@tabler/icons":"3.46.0","@types/node":"^22","@types/react":"^19","@types/react-dom":"^19","react":"^19","react-dom":"^19","typescript":"^5"},"gitHead":"d798eb3834d5e79385497ee55d7bb658c97bea85","_id":"@alexandremasy/icons@0.1.1","bugs":{"url":"https://github.com/alexandremasy/alexandremasy-icons/issues"},"_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-Mj2teif8j15pZ3ELltCkD+7lm2TE24zaHDTzP/NE6V4oP9GMlMcUTVa0k2SVYqyxajYQRwalbXmvo9tmA5cX9Q==","shasum":"52d4a1f958a15f71f4846420e2e82920d47b85dd","tarball":"https://registry.npmjs.org/@alexandremasy/icons/-/icons-0.1.1.tgz","fileCount":8713,"unpackedSize":3667391,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGiXpJF4bIAXvyqGsqoWoWENVDpFPWFK1szdQ4Bq3s5dAiBsM27c6u82DosQ1wO0zrFU6hhaZBCD+hhS1ykgOmRyiQ=="}]},"_npmUser":{"name":"alexandremasy","email":"hello@alexandremasy.com"},"directories":{},"maintainers":[{"name":"alexandremasy","email":"hello@alexandremasy.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/icons_0.1.1_1788285874950_0.466315858142174"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-01T14:53:15.105Z","modified":"2026-09-01T18:04:35.345Z","0.1.0":"2026-09-01T14:53:15.583Z","0.1.1":"2026-09-01T18:04:35.172Z"},"bugs":{"url":"https://github.com/alexandremasy/alexandremasy-icons/issues"},"author":{"name":"Alexandre Masy"},"license":"MIT","homepage":"https://github.com/alexandremasy/alexandremasy-icons#readme","keywords":["icons","react","svg","design-system","alexandremasy"],"repository":{"type":"git","url":"git+https://github.com/alexandremasy/alexandremasy-icons.git"},"description":"The alexandremasy icon library as React components: 4.353 icons, 24px canvas, stroke 2, currentColor.","maintainers":[{"name":"alexandremasy","email":"hello@alexandremasy.com"}],"readme":"# alexandremasy-icons\n\nThe `alexandremasy` icon library, as code. **4.353 icons**, one canvas (24×24), one stroke\n(2), one colour source (`currentColor`).\n\nIt is the code side of the Figma library **Spices — Clove**. Figma owns what an icon is\ncalled and which family it belongs to; this repo owns the files an application installs.\n\n```\nicons/                  <name>.svg + <name>.json -- the source of truth, checked in\nsrc/                    the React components, generated from icons/\ntaxonomy/               what the Figma library declares: names, families, provenance\nscripts/                the two builders and the check\ndocs/PROVENANCE.md      where each drawing comes from, and why\n```\n\n## Using it\n\n```\nbun add @alexandremasy/icons\n```\n\n```tsx\nimport { AngleDown, Home, Wallet } from '@alexandremasy/icons'\n\n<AngleDown />                       // 24px, stroke 2, the colour of the text around it\n<Home size={16} />\n<Wallet size={32} strokeWidth={1.5} />\n```\n\nColour is never a prop. An icon inherits `currentColor`, so it follows a theme by\nconstruction — the same reason every vector in the Figma library binds `theme/ink`\nrather than a value.\n\n## The two decisions everything rests on\n\n**24×24 canvas, stroke 2.** Both are checked, on every icon, by `bun run check`. The\nstroke moved from 3 to 2 on 2026-09-01; in Figma it is bound to the `stroke/rule`\nvariable, so it is one lever there and one number here.\n\n**One name, one family.** `taxonomy/names.tsv` is the census — 4.353 rows, the exact\ncontents of the Figma library. An icon that is not in it does not exist, and an icon in\nit with no file makes the check fail.\n\n## Working on it\n\n```\nbun install\nbun run build          # icons/ then src/ then the publishable dist\nbun run check          # refuses on a drift between Figma's taxonomy, icons/ and react\nbun test               # renders a few icons out of dist -- the files npm ships\nbun run check:node     # proves dist loads under NODE, which bun is too lenient to catch\n```\n\nPublishing is `npm publish` at the root -- one repo, one package. `dist/` is generated and\nnot checked in, and `prepublishOnly` rebuilds it, runs the check and runs the tests, so a\npublish cannot ship a stale or broken build.\n\n`bun run build:icons` **overwrites `icons/`**. That directory is generated once and hand\neditable forever after — re-running the builder throws away hand edits. It exists as a\ncommand so the provenance is reproducible, not because it runs often.\n\n## Families\n\narrows · commerce · computers · currencies · design · editors · food · interfaces · life ·\nmap · mathematics · media · nature · people · shapes · status · symbols · system · text\n\n## Licence\n\nMIT, and the drawings carry Tabler's MIT notice — see `LICENSE`. 4.333 of the 4.353 are\nTabler outline icons at stroke 2 under the `alexandremasy` naming; 20 exist only here.\n","readmeFilename":"README.md"}