{"_id":"@ai.to.design/design-token-extractor","_rev":"10-c6e5afcb10b7cf511152b666036e070f","name":"@ai.to.design/design-token-extractor","dist-tags":{"latest":"1.7.0"},"versions":{"1.3.4":{"name":"@ai.to.design/design-token-extractor","version":"1.3.4","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.3.4","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"00350c02cc352f1afee1b494b580567435cf95cd","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.3.4.tgz","fileCount":3,"integrity":"sha512-ZOmBxuAmXO0u7nRJN7KJrFH/tq3rdEL6fDnVKbqHosQIBd8u2DS56nU6CUIp0kVxSah6x7k7otCoGJX0PPeYDA==","signatures":[{"sig":"MEUCIGqm4rCVWq/fx7Pw3bQeLQeGyNvdTX1NuhSnTBaSJNasAiEA0WdLEhp71SQtADR7U5TTOSe9gX8Bv4vmCWRuSADs2nQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.3.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"741b5773a368ea36cae766a5764810a0d68abe3d","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.8.2","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.3.4_1776525089136_0.5416721164094351","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@ai.to.design/design-token-extractor","version":"1.4.0","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.4.0","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"de479a9c206f251cc49e19994fe0ed76741854e9","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.4.0.tgz","fileCount":3,"integrity":"sha512-s7hiTegLpmVCQQD4NAPTjVaOpMJ/3dQ4LVXEpbuthizd22YfURz/Zlr7kqw4ZIqWcc7R5dAyz8ezdI6hTGZwSQ==","signatures":[{"sig":"MEYCIQDlIRuu8zpM5oQFI/czv2WOXRVdIOB7lhFjhZ/O0Rg7BwIhAMM/uhPIO+LTTum7z7yWQpfxbZlUTsVtukzNMgdM+Dm7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"7c2dfa79b817ca0b49c3d0b3d60c8bd32a2be5c8","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.8.2","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.4.0_1777197657233_0.2653968515472702","host":"s3://npm-registry-packages-npm-production"}},"1.5.0":{"name":"@ai.to.design/design-token-extractor","version":"1.5.0","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.5.0","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"3383dabe0f60f417a68d41f009d2d75397641ae5","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.5.0.tgz","fileCount":3,"integrity":"sha512-Y+Y9dRuldiZ0oZxQeO0o9WdggisPnEYYRzRnBH0wBt6/ZmB88whDXZCJzx+OjyDyNGw5oq9fv7/XPVbNBYHfZQ==","signatures":[{"sig":"MEYCIQDKS7vTx+VkDLul705v7jbuYKu9eqBQ7Wjy+K/CWiX8JQIhAJaji7kwz3DdsEwdW9FoZauBAUTRv8Auy/46gSkHo8/Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"f833234c25369828bd29518767f897c80f8fbab0","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.8.2","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.5.0_1777197776568_0.17447004733520166","host":"s3://npm-registry-packages-npm-production"}},"1.5.1":{"name":"@ai.to.design/design-token-extractor","version":"1.5.1","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.5.1","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"427ce9464b95c93d66281fb78c1520fd2b165cfb","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.5.1.tgz","fileCount":3,"integrity":"sha512-/R1CcTFvfLxwuCmPRonIvCw7ZOdfgEkvbaTdiPcBGs+2k04p82mdec6voZ56vFb5A8BsD9aNkBUrhWbRhSgjpw==","signatures":[{"sig":"MEUCIA+FNIKxoG3Zf8Oxb7gIt0QBJN9qJcG48ijSVQGT9HYkAiEAkC9itid48KA0Jci8u/9H497b/nEbQ9dNMMQhLGfejxU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"970aae1cb80b65d1c79e5a44b45537446d9eacac","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.8.2","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"20.20.2","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.5.1_1777198682368_0.5562540035606567","host":"s3://npm-registry-packages-npm-production"}},"1.6.0":{"name":"@ai.to.design/design-token-extractor","version":"1.6.0","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.6.0","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"dc6fde68cde37490a6133491ffb7bd39edcba10e","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.6.0.tgz","fileCount":3,"integrity":"sha512-/oqmDyjxjR4jA4pEF3haEHbRdwC+FdBJiOBrTc6zUmpRCegHyeNtcD8ezispPjnd1gteSamXL0XTqeM3niHq4w==","signatures":[{"sig":"MEUCIE3voGuM5mHTN8V8c1rdyPHiL9FHcmp2HH2wDgADJqLTAiEA1SmvShLB6dTpeZi2xBbDsSlhucnLLH4sxamjbmWh2VY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"0863e57765dd09b6832a8eb42adc681d814b654c","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.9.8","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"22.23.1","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.6.0_1782897428507_0.41086024361086126","host":"s3://npm-registry-packages-npm-production"}},"1.6.1":{"name":"@ai.to.design/design-token-extractor","version":"1.6.1","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.6.1","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"56e6ae8e1011d939c7ad874a47ab9406def20eb4","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.6.1.tgz","fileCount":3,"integrity":"sha512-8YDJohb6A0VvCtpZLSdyPh7DDBfDBbu/6aUF5yjYBvpDV9eNtZp4kINvsDoEmCtNZXs0sQvZE+Mao4fb3lsCQQ==","signatures":[{"sig":"MEQCIHxOApBXnC03WKdYh7/WAKWm5aQscdzn/nJyoU219LE+AiATIicqqjwfWS36Y67hS+TCSXpZWFD3IHx5nyy7P45C8Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.6.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52831},"type":"module","engines":{"node":">=18"},"gitHead":"524c98ef18d43ebf29724c2f2049f27abd6ae87e","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"10.9.8","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"22.23.1","dependencies":{"ora":"^8.0.0","zod":"^3.23.0","postcss":"^8.4.24","commander":"^11.0.0","playwright":"^1.44.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.0","jsdom":"^29.0.2","eslint":"^9.0.0","vitest":"^2.0.0","typescript":"^5.2.0","@types/node":"^20.0.0","@types/jsdom":"^28.0.1","typescript-eslint":"^8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.6.1_1782906424568_0.7558522796460545","host":"s3://npm-registry-packages-npm-production"}},"1.6.2":{"name":"@ai.to.design/design-token-extractor","version":"1.6.2","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.6.2","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"15a208d359a24112e94e81d261aa6d51fe9edefa","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.6.2.tgz","fileCount":3,"integrity":"sha512-eubbuMAZ0HqMDiRm4G2jlGhxwPVyDzXvnV96nuntK6V9PX48a0i2BKCqLmT2nMgTZ92SKKO0VEReOJQ67pRZsA==","signatures":[{"sig":"MEQCIDo9rbLAJoHKKxXs+qB/NlvFvwHetnIa9OObTisbx614AiAK+KlAHmmkQWqziDV2F5qAplclapVWvABvUqGyEpJIPQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.6.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52858},"type":"module","engines":{"node":">=18"},"gitHead":"b7c78275620030c09136866c7de8cc2a63672d79","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"11.13.0","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"24.17.0","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","postcss":"^8.5.16","commander":"^15.0.0","playwright":"^1.61.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^29.1.1","eslint":"^10.6.0","vitest":"^4.1.9","globals":"^17.7.0","typescript":"^6.0.3","@types/node":"^24.0.0","@types/jsdom":"^28.0.3","typescript-eslint":"^8.62.1"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.6.2_1782910516141_0.7660260632352396","host":"s3://npm-registry-packages-npm-production"}},"1.6.3":{"name":"@ai.to.design/design-token-extractor","version":"1.6.3","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.6.3","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"c18a7b0ed65d836ce688d437232bc1954095e00a","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.6.3.tgz","fileCount":3,"integrity":"sha512-oT75BL0hrYXi0kvf1r8VVk5o1SDTardgvqx0n84AWojIpgIlv2Q/rrl/L2JAOZw4qZiIC5n0L5AH9zLVTFlBvA==","signatures":[{"sig":"MEUCIQCvJztWNO90ZFN/cHvLe4dBIwdFlUG0M35DYEn6QW162wIgew1rV2J6TrVHYEKF9zi7M8NW6ZziR7lRjaI9D7XMgYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.6.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52858},"type":"module","engines":{"node":">=18"},"gitHead":"aadcb0a23af2e90cd5aaffd304c3fdf0f4b37ab2","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"npm run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"11.16.0","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"24.18.0","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","postcss":"^8.5.16","commander":"^15.0.0","playwright":"^1.61.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^29.1.1","eslint":"^10.6.0","vitest":"^4.1.9","globals":"^17.7.0","typescript":"^6.0.3","@types/node":"^24.0.0","@types/jsdom":"^28.0.3","typescript-eslint":"^8.62.1"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.6.3_1783001767479_0.7788461722873801","host":"s3://npm-registry-packages-npm-production"}},"1.6.5":{"name":"@ai.to.design/design-token-extractor","version":"1.6.5","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"author":{"name":"Roland Wallner"},"license":"MIT","_id":"@ai.to.design/design-token-extractor@1.6.5","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"bin":{"design-token-extractor":"dist/cli.js"},"dist":{"shasum":"bc06643e088deb75d6168e2492e68b03c80d8ecd","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.6.5.tgz","fileCount":3,"integrity":"sha512-yi2DatSYEcuxHBQn2yCxno8tIjwKkIQWHwvhrrdqsvZeIrCK9rNAaTbTVUF6GTQva3SCnjc72nX3qIiJWu3Ayg==","signatures":[{"sig":"MEQCIAYqIZQaOCowBurOHkzrDffVNoONsT7B0BbYryB5NnovAiBT3jw8yFW32EF7rJEnDgSwAAwwVMdlN/FtRbKDUCmt7A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.6.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52858},"type":"module","engines":{"node":">=18"},"gitHead":"d2580c29deb3b88ead8cc4b1c31ed97a631e2c9e","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run build"},"_npmUser":{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"},"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"11.17.0","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"_nodeVersion":"24.19.0","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","postcss":"^8.5.16","commander":"^15.0.0","playwright":"^1.61.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^29.1.1","eslint":"^10.6.0","vitest":"^4.1.9","globals":"^17.7.0","typescript":"^6.0.3","@types/node":"^24.0.0","@types/jsdom":"^28.0.3","typescript-eslint":"^8.62.1"},"_npmOperationalInternal":{"tmp":"tmp/design-token-extractor_1.6.5_1787322080118_0.6131747114721893","host":"s3://npm-registry-packages-npm-production"}},"1.7.0":{"_id":"@ai.to.design/design-token-extractor@1.7.0","bin":{"design-token-extractor":"dist/cli.js"},"bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"dist":{"shasum":"3612658e7b1ce9eebbe59b7d793c1b5cb27d1a3b","tarball":"https://registry.npmjs.org/@ai.to.design/design-token-extractor/-/design-token-extractor-1.7.0.tgz","fileCount":3,"integrity":"sha512-F54rgRB8T7RnwDlAi9TDNvmVdbEOpcNsh1X1lRC95ZPLNyvt36n4U3fn2XsobDEyEMgIrmyUfXu9wcYJ3RMMPA==","signatures":[{"sig":"MEQCIFttpgI/Is48bv6k+DcTGSyLtPudcdCphE6BknXNLbRGAiBQagU3UYZ9+WV8Q9A53wSik0WItE+0QsPl76W/UmUMuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIDfb9eK3xUAMe5EztySu+hF0C15aKkHSn7cSSWs9vVGRAiAMKMPvoNkWzk1kEKsOuw22g3tgdV0jwI+bDaqy+4tbEg=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@ai.to.design%2fdesign-token-extractor@1.7.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":52858},"name":"@ai.to.design/design-token-extractor","type":"module","author":{"name":"Roland Wallner"},"engines":{"node":">=18"},"gitHead":"73ef1b18395c08fef5fd045f3592437c50e6d7f4","license":"MIT","scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest run","build":"tsup","typecheck":"tsc --noEmit","test:watch":"vitest","prepublishOnly":"bun run build"},"version":"1.7.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:424b2622-a808-4352-9aa6-743b8e46fbba"}},"homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"_npmVersion":"11.20.0","description":"Extract design tokens from any website into W3C DTCG JSON","directories":{},"maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"_nodeVersion":"24.21.0","dependencies":{"ora":"^9.4.1","zod":"^4.4.3","postcss":"^8.5.16","commander":"^15.0.0","playwright":"^1.61.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","jsdom":"^29.1.1","eslint":"^10.6.0","vitest":"^4.1.9","globals":"^17.7.0","typescript":"^6.0.3","@types/node":"^24.0.0","@types/jsdom":"^28.0.3","typescript-eslint":"^8.62.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/design-token-extractor_1.7.0_1790256874489_0.32067036370043245"}}},"time":{"created":"2026-04-18T15:11:28.977Z","modified":"2026-09-24T13:34:34.948Z","1.3.4":"2026-04-18T15:11:29.272Z","1.4.0":"2026-04-26T10:00:57.342Z","1.5.0":"2026-04-26T10:02:56.691Z","1.5.1":"2026-04-26T10:18:02.502Z","1.6.0":"2026-07-01T09:17:08.633Z","1.6.1":"2026-07-01T11:47:04.699Z","1.6.2":"2026-07-01T12:55:16.285Z","1.6.3":"2026-07-02T14:16:07.626Z","1.6.5":"2026-08-21T14:21:20.249Z","1.7.0":"2026-09-24T13:34:34.595Z"},"bugs":{"url":"https://github.com/I2olanD/ai.to.prototype/issues"},"author":{"name":"Roland Wallner"},"license":"MIT","homepage":"https://github.com/I2olanD/ai.to.prototype/tree/main/packages/design-token-extractor#readme","keywords":["design-tokens","dtcg","css","design-system","extractor","cli"],"repository":{"url":"git+https://github.com/I2olanD/ai.to.prototype.git","type":"git","directory":"packages/design-token-extractor"},"description":"Extract design tokens from any website into W3C DTCG JSON","maintainers":[{"name":"i2oland","email":"rolandolah+npmjs@icloud.com"}],"readme":"# design-token-extractor\n\nA one-command CLI that extracts a W3C DTCG-compatible design token set from any public website or local HTML file.\n\n## Install\n\n```bash\nnpm i -g @ai.to.design/design-token-extractor\nnpx playwright install chromium\n```\n\nRequires Node.js >= 18. The Chromium download is a one-time ~200 MB.\n\n## Usage\n\n### Extract from a URL\n\n```bash\ndesign-token-extractor extract https://example.com --out tokens.json\n```\n\n### Extract from a local HTML file (bypasses auth walls)\n\n```bash\ndesign-token-extractor extract --file ./page.html --out tokens.json\n```\n\n### Output formats\n\n```bash\n# W3C DTCG JSON (default) — canonical\ndesign-token-extractor extract https://example.com --format json --out tokens.json\n\n# CSS custom properties under :root (+ @media prefers-color-scheme: dark)\ndesign-token-extractor extract https://example.com --format css --out tokens.css\n\n# ES module exporting a default object\ndesign-token-extractor extract https://example.com --format js  --out tokens.js\n\n# Markdown with color swatches and usage tables\ndesign-token-extractor extract https://example.com --format md  --out tokens.md\n```\n\n### Filter low-confidence tokens\n\nEach token is scored 0..1 based on how many selectors use it. Drop one-offs:\n\n```bash\ndesign-token-extractor extract https://example.com --min-confidence 0.5\n```\n\n### Theme emulation\n\n```bash\ndesign-token-extractor extract https://example.com --theme auto    # default; emits both if dark rules exist\ndesign-token-extractor extract https://example.com --theme light\ndesign-token-extractor extract https://example.com --theme dark\n```\n\n## Output shape (DTCG)\n\nTokens follow the [W3C Design Tokens Community Group](https://tr.designtokens.org/format/) draft. Each token is a `$value / $type / $extensions` envelope:\n\n```json\n{\n  \"color\": {\n    \"color-1\": {\n      \"$value\": \"#3b82f6\",\n      \"$type\": \"color\",\n      \"$extensions\": {\n        \"com.dte.usage\": { \"selectors\": [\"button.primary\", \"a\"], \"count\": 12 },\n        \"com.dte.confidence\": 0.9,\n        \"com.dte.source\": \"stylesheet\",\n        \"com.dte.theme\": \"light\"\n      }\n    }\n  }\n}\n```\n\nTop-level keys (always present, empty when no tokens observed): `color`, `typography`, `spacing`, `radius`, `shadow`, `zIndex`, `breakpoint`, `motion`.\n\n## Exit codes\n\n| Code | Meaning |\n|------|---------|\n| `0`  | Success |\n| `1`  | User error — bad URL, missing file, invalid flag |\n| `2`  | Extraction failure — timeout, 401/403, DNS, connection refused |\n| `3`  | Internal error |\n\nNo partial output file is written on failure (atomic temp + rename).\n\n## Current limitations (v1)\n\n- **No authentication.** Public URLs only. Use `--file` with a saved rendered HTML for auth-walled sites.\n- **No source CSS parsing.** Token values come from `getComputedStyle`, which the browser has already resolved. `var()` chains are pre-resolved before we see them, so the `resolve/css-vars.ts` module is kept for v2 but unused in v1 output.\n- **Breakpoints not extracted from live renders.** `TokenSet.breakpoint` is always emitted as `{}` in v1 — the renderer does not surface stylesheet text, so the `@media` walker has nothing to consume.\n- **`$metadata.version` is hardcoded `\"0.1.0\"`** instead of being injected from `package.json` at build time.\n- **Per-theme slicing** — categorizers run once per theme and results are concatenated, rather than the single-pass described in the SDD pseudocode. Output is equivalent; implementation differs.\n- **Playwright Chromium required.** The `--fast` (static-only) flag is accepted but not implemented in v1 — a warning is printed and the headless renderer is used.\n\n## Spec\n\nSee the full specification, ADRs, and decisions log at [`.start/specs/005-design-token-extractor/`](../../.start/specs/005-design-token-extractor/).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}