{"_id":"fontace","_rev":"9-bb64f4dcf28c094b554632a4afede853","name":"fontace","dist-tags":{"latest":"0.4.1"},"versions":{"0.0.1":{"name":"fontace","version":"0.0.1","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.0.1","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"dist":{"shasum":"320a56cef2ffe7d4c3cfa706108df20359ff811f","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.0.1.tgz","fileCount":5,"integrity":"sha512-FJJmbvdordISt0INhyNnolEfAiF/pikjdQXF9/r9bTwP1z9fVMZOKhcaf1DwVEX2PccCCuVcOltCRXPe2D7qjA==","signatures":[{"sig":"MEUCIDG+UUlOkQz1+fEoe+V0DCdxuTBIxqt4q3LxAhfGuEx/AiEAsbqKR6Fk3+DKaBffiZToB6XTWBIKed8jxSCDR82gMB4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":6967},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"8f190fec9596bc471df73068f7f227493792799e","scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile","prepublishOnly":"pnpm build"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"23.10.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.7"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.15.1+sha512.1acb565e6193efbebda772702950469150cf12bcc764262e7587e71d19dc98a423dff9536e57ea44c49bdf790ff694e83c27be5faa23d67e0c033b583be4bfcf","devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.0.1_1743196054686_0.34130181313392316","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"fontace","version":"0.1.0","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.1.0","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"f88a13ff27647fa4127d501768ae805d7a6c6ead","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.1.0.tgz","fileCount":5,"integrity":"sha512-Ayqh7AaQCYYZuTmYD62kAE3YsWNivy1Fpa8l5cOnxuAMEeBtMMYT7V+cdgK3Ob70taq2H5liBSNClOfmjXrVpA==","signatures":[{"sig":"MEQCIFP3d9CqOJ3/EaoNX9DzmmHSjHN4Vo6LpjUJX74S/QS3AiAfTz2mj1Ai64Hji+Kn0YC/VzvdWKw3BmLom1pxs5xoLw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7058},"type":"module","_from":"file:fontace-0.1.0.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_resolved":"/tmp/5b566a647270959e05cc054c5bf8cc5f/fontace-0.1.0.tgz","_integrity":"sha512-Ayqh7AaQCYYZuTmYD62kAE3YsWNivy1Fpa8l5cOnxuAMEeBtMMYT7V+cdgK3Ob70taq2H5liBSNClOfmjXrVpA==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.7"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.1.0_1743196671102_0.11522900296210836","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"fontace","version":"0.2.0","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.2.0","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"f252e48b029dca5d1f6e4d917961c8193b8af4d9","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.2.0.tgz","fileCount":5,"integrity":"sha512-bV3rwnfhZ3lxMw07plnHswsM3/zppnxRuTMyqJpLB8DsJisBy+WKkPiTJxLdtxNdhVnKYqesIk0Kn4zenbXm7Q==","signatures":[{"sig":"MEQCIGhnzdYv6a69nyMyNrl9b276UOqRfU7h6WSnfKBcLJ1aAiBFiOlzR92CB0g0ubnMt7ZDTv0oVerrmZMAlufvkyxJ8w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7918},"type":"module","_from":"file:fontace-0.2.0.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_resolved":"/tmp/7895ed790c1ed26431a8580571f58ae3/fontace-0.2.0.tgz","_integrity":"sha512-bV3rwnfhZ3lxMw07plnHswsM3/zppnxRuTMyqJpLB8DsJisBy+WKkPiTJxLdtxNdhVnKYqesIk0Kn4zenbXm7Q==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.7"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.2.0_1743198868331_0.41786330112920145","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"fontace","version":"0.2.1","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.2.1","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"e38094af61385d0b478fcf86d616dcbda93c8d30","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.2.1.tgz","fileCount":5,"integrity":"sha512-LkhPLsrAEr89EiSI6ed4d0JVGEM8YL+qtRIjoBLtp0oDMr5hFRAqADqb8IldtVa2mrLHKm0rDY95V04LxQSSDw==","signatures":[{"sig":"MEQCIEHdmmjHmY9CkJm+ZcRfUAQIBBhAsfz3/UEXyPecMQwVAiBi29e2//uSgmjklfjuSkoVc0I9ci/UWoSiAIELVou9/Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8605},"type":"module","_from":"file:fontace-0.2.1.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_resolved":"/tmp/ba9506f4dbc2b716fd5dac6c13dcbcf2/fontace-0.2.1.tgz","_integrity":"sha512-LkhPLsrAEr89EiSI6ed4d0JVGEM8YL+qtRIjoBLtp0oDMr5hFRAqADqb8IldtVa2mrLHKm0rDY95V04LxQSSDw==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.7"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.2.1_1743202682619_0.440259961624321","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"fontace","version":"0.2.2","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.2.2","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"e286cce6869f1a26510ba528ecd023c414471682","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.2.2.tgz","fileCount":5,"integrity":"sha512-qhfgxmrA4GnCJ9z9icFv8QQcWsqJn1tjCQDV4AKeGxk6ifboJ0zu6QvwLYVESpVUsDSwBGmg1jWIrRNXXVvBPQ==","signatures":[{"sig":"MEUCIFD1pRRRHZza1dulEUO0a0FXLdT71Tmu74kgOjXrdMWGAiEAotrShnpDlXLoU87G19k+BLJYqFyfcyld2grwEhhrzow=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8605},"type":"module","_from":"file:fontace-0.2.2.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_resolved":"/tmp/af82ec1404b6fe17089a460279eff83b/fontace-0.2.2.tgz","_integrity":"sha512-qhfgxmrA4GnCJ9z9icFv8QQcWsqJn1tjCQDV4AKeGxk6ifboJ0zu6QvwLYVESpVUsDSwBGmg1jWIrRNXXVvBPQ==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.2.2_1743277384577_0.3462771512018621","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"fontace","version":"0.3.0","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.3.0","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"ddc16ff039d07330a87c9492cf264f121ce3847b","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.3.0.tgz","fileCount":5,"integrity":"sha512-czoqATrcnxgWb/nAkfyIrRp6Q8biYj7nGnL6zfhTcX+JKKpWHFBnb8uNMw/kZr7u++3Y3wYSYoZgHkCcsuBpBg==","signatures":[{"sig":"MEYCIQC+LxpDBT8RE2Rxk5Nh4sUeposCofNLYk2RaU7iEBDRBQIhAJ3wFObF982BZatI+H/PML3owxj0Qay+goAfEv/Ir/zF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9237},"type":"module","_from":"file:fontace-0.3.0.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"delucis","email":"swithinbank@gmail.com"},"_resolved":"/tmp/7aa64fa23a54bc2af942044e53b8e478/fontace-0.3.0.tgz","_integrity":"sha512-czoqATrcnxgWb/nAkfyIrRp6Q8biYj7nGnL6zfhTcX+JKKpWHFBnb8uNMw/kZr7u++3Y3wYSYoZgHkCcsuBpBg==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"10.9.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","vite":"^6.2.3","vitest":"^3.0.9","typescript":"^5.8.2","@changesets/cli":"^2.28.1","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.3.0_1746028899223_0.660594364893174","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"fontace","version":"0.3.1","keywords":["font","fontkit","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.3.1","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"2325007b9784695103e630f865b3ac8d771547c8","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.3.1.tgz","fileCount":5,"integrity":"sha512-9f5g4feWT1jWT8+SbL85aLIRLIXUaDygaM2xPXRmzPYxrOMNok79Lr3FGJoKVNKibE0WCunNiEVG2mwuE+2qEg==","signatures":[{"sig":"MEUCIQCI8Ff/mMLYbmdYsGKiiDuRhJ+i6T5NI2JRU7EG343GzwIgKtNqFMBC20sVxwL1t3GhRtx/dX98Xi1VhknEITbL6Po=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fontace@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9237},"type":"module","_from":"file:fontace-0.3.1.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsup src/index.ts --format esm --dts --clean","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aae23dab-e1b8-4a0b-b7b4-84d2dd3f4471"}},"_resolved":"/tmp/d82b02c8b907bd5f02128a4da25c32e3/fontace-0.3.1.tgz","_integrity":"sha512-9f5g4feWT1jWT8+SbL85aLIRLIXUaDygaM2xPXRmzPYxrOMNok79Lr3FGJoKVNKibE0WCunNiEVG2mwuE+2qEg==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"11.6.1","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"22.20.0","dependencies":{"fontkit":"^2.0.4","@types/fontkit":"^2.0.8"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","vite":"^6.3.6","vitest":"^3.2.4","typescript":"^5.9.3","@changesets/cli":"^2.29.7","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.3.1_1759680555155_0.5266056210834675","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"fontace","version":"0.4.0","keywords":["font","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"license":"MIT","_id":"fontace@0.4.0","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"homepage":"https://github.com/delucis/fontace#readme","bugs":{"url":"https://github.com/delucis/fontace/issues"},"dist":{"shasum":"a019b6f6ce909ac0e88d79e64eb97d04a521ee15","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.4.0.tgz","fileCount":5,"integrity":"sha512-moThBCItUe2bjZip5PF/iZClpKHGLwMvR79Kp8XpGRBrvoRSnySN4VcILdv3/MJzbhvUA5WeiUXF5o538m5fvg==","signatures":[{"sig":"MEUCIQDK6ot9fJabX3am+Uq9834szNSYXlh/3h+P0YvlpOgZMAIgSlWX0aGXrwj62/8K5/Vz1bWu4oUT9b7wClvQYO1l3fs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fontace@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9851},"type":"module","_from":"file:fontace-0.4.0.tgz","exports":{".":"./dist/index.js"},"scripts":{"test":"vitest","build":"tsdown --dts --no-fixed-extension","ci-publish":"changeset publish","ci-version":"changeset version && pnpm install --no-frozen-lockfile"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aae23dab-e1b8-4a0b-b7b4-84d2dd3f4471"}},"_resolved":"/tmp/a0b504424758392e57a504dd64bc7711/fontace-0.4.0.tgz","_integrity":"sha512-moThBCItUe2bjZip5PF/iZClpKHGLwMvR79Kp8XpGRBrvoRSnySN4VcILdv3/MJzbhvUA5WeiUXF5o538m5fvg==","repository":{"url":"git+https://github.com/delucis/fontace.git","type":"git"},"_npmVersion":"11.6.2","description":"Extract useful information from font files","directories":{},"sideEffects":false,"_nodeVersion":"24.12.0","dependencies":{"fontkitten":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.0","tsdown":"^0.18.0","vitest":"^4.0.15","@changesets/cli":"^2.29.8","@fontsource/roboto":"^5.2.5","@fontsource-variable/inter":"^5.2.5","@changesets/changelog-github":"^0.5.2"},"_npmOperationalInternal":{"tmp":"tmp/fontace_0.4.0_1766101826535_0.1727908399974043","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"fontace","version":"0.4.1","description":"Extract useful information from font files","type":"module","sideEffects":false,"exports":{".":"./dist/index.js"},"keywords":["font","opentype","truetype","woff","woff2","css","font-face"],"author":{"name":"delucis"},"repository":{"type":"git","url":"git+https://github.com/delucis/fontace.git"},"bugs":{"url":"https://github.com/delucis/fontace/issues"},"homepage":"https://github.com/delucis/fontace#readme","license":"MIT","dependencies":{"fontkitten":"^1.0.2"},"devDependencies":{"@changesets/changelog-github":"^0.5.2","@changesets/cli":"^2.29.8","@fontsource-variable/inter":"^5.2.5","@fontsource/roboto":"^5.2.5","tsdown":"^0.19.0","vite":"^7.3.1","vitest":"^4.0.18"},"scripts":{"build":"tsdown --dts --no-fixed-extension","test":"vitest","ci-version":"changeset version && pnpm install --no-frozen-lockfile","ci-publish":"changeset publish"},"_id":"fontace@0.4.1","_integrity":"sha512-lDMvbAzSnHmbYMTEld5qdtvNH2/pWpICOqpean9IgC7vUbUJc3k+k5Dokp85CegamqQpFbXf0rAVkbzpyTA8aw==","_resolved":"/tmp/9d34b08d012d6bfabe3b12027aaab34c/fontace-0.4.1.tgz","_from":"file:fontace-0.4.1.tgz","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-lDMvbAzSnHmbYMTEld5qdtvNH2/pWpICOqpean9IgC7vUbUJc3k+k5Dokp85CegamqQpFbXf0rAVkbzpyTA8aw==","shasum":"de2a76cf361088016901a6f2a8f2bd016c9ae844","tarball":"https://registry.npmjs.org/fontace/-/fontace-0.4.1.tgz","fileCount":5,"unpackedSize":9851,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/fontace@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB0LryHViW0hwDIPO3yqYuQbIr2mr5uCYZMf0aExidcnAiAbnL8/jSwfOXGx4RFS5hdg1NnHSklfmafBU2hR8aLCXw=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:aae23dab-e1b8-4a0b-b7b4-84d2dd3f4471"}},"directories":{},"maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fontace_0.4.1_1769944701794_0.43794312176110917"},"_hasShrinkwrap":false}},"time":{"created":"2025-03-28T21:07:34.685Z","modified":"2026-02-01T11:18:22.210Z","0.0.1":"2025-03-28T21:07:34.868Z","0.1.0":"2025-03-28T21:17:51.311Z","0.2.0":"2025-03-28T21:54:28.500Z","0.2.1":"2025-03-28T22:58:02.832Z","0.2.2":"2025-03-29T19:43:04.779Z","0.3.0":"2025-04-30T16:01:39.426Z","0.3.1":"2025-10-05T16:09:15.342Z","0.4.0":"2025-12-18T23:50:26.683Z","0.4.1":"2026-02-01T11:18:21.936Z"},"bugs":{"url":"https://github.com/delucis/fontace/issues"},"author":{"name":"delucis"},"license":"MIT","homepage":"https://github.com/delucis/fontace#readme","keywords":["font","opentype","truetype","woff","woff2","css","font-face"],"repository":{"type":"git","url":"git+https://github.com/delucis/fontace.git"},"description":"Extract useful information from font files","maintainers":[{"name":"delucis","email":"swithinbank@gmail.com"}],"readme":"<h1 align=\"center\">fontace</h1>\n<p align=\"center\">Extract useful information from font files</p>\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/fontace\"><img alt=\"fontace on NPM\" src=\"https://img.shields.io/npm/v/fontace\"></a>\n  <a href=\"https://github.com/delucis/fontace/actions/workflows/ci.yml\"><img src=\"https://github.com/delucis/fontace/actions/workflows/ci.yml/badge.svg\" alt=\"CI status\"></a>\n</p>\n\n## Installation\n\n```sh\nnpm install fontace\n```\n\n## Import\n\n```js\nimport { fontace } from 'fontace';\n```\n\n## Why `fontace`?\n\n`fontace` is a small library, which intends to extract data specifically to help generate CSS `@font-face` declarations based on font files.\n\n`fontace` returns the following CSS-compatible values intended for use with `font-family`, `font-style`, `unicode-range`, and `font-weight`:\n\n- `family`: The font family name as stored in the font file, e.g. `\"Inter\"`.\n- `style`: The style of this font file, e.g. `\"normal\"` or `\"italic\"`.\n- `unicodeRange`: The range of Unicode code points this font file contains, e.g. `\"U+0-10FFFF\"`.\n- `weight`: The font weight(s) this file supports, which can be a range for variable fonts, e.g. `\"400\"` or `\"100 900\"`.\n\nIn addition it returns:\n\n- `format`: The font file format for use in [`format()`](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src#format), e.g.`\"woff2\"` or `\"truetype\"`.\n- `isVariable`: `true` if the font file contains variable axes of some kind.\n- `unicodeRangeArray`: An array of the Unicode code point ranges this font file contains, e.g. `[\"U+0-10FFFF\"]`, equivalent to `unicodeRange.split(', ')`. Useful if you need to iterate through the available ranges instead of inlining them directly in CSS.\n\n## Usage\n\nPass a buffer containing font file data to `fontace()` and get useful information back.\n\n### Example: local font file\n\nUse file-system APIs to read a local font file and then pass it to `fontace()`:\n\n```js\nimport { fontace } from 'fontace';\nimport fs from 'node:fs';\n\nconst fontBuffer = fs.readFileSync('./Inter.woff2');\nconst metadata = fontace(fontBuffer);\n// { family: \"Inter\", format: 'woff2', style: \"normal\", weight: \"400\", isVariable: false, unicodeRange: \"U+0, U+20-7E...\", unicodeRangeArray: [\"U+0\", \"U+20-7E\", ...] }\n```\n\n### Example: remote font file\n\nFetch a font file over the network and then pass it to `fontace()`:\n\n```js\nimport { fontace } from 'fontace';\n\nconst response = await fetch('https://example.com/Inter-Variable.woff2');\nconst fontBuffer = Buffer.from(await response.arrayBuffer());\nconst metadata = fontace(fontBuffer);\n// { family: \"Inter\", format: 'woff2', style: \"normal\", weight: \"100 900\", isVariable: true, unicodeRange: \"U+0, U+20-7E...\", unicodeRangeArray: [\"U+0\", \"U+20-7E\", ...] }\n```\n\n### Example: using `fontace` data to create CSS\n\n```js\nconst { family, format, isVariable, style, unicodeRange, weight } = fontace(fontBuffer);\n\nlet src = `url(/MyFont.woff2) format('${format}')`;\nif (isVariable) src += ' tech(variations)';\n\nconst fontFaceDeclaration = `@font-face {\n  font-family: ${family};\n  font-style: ${style};\n  font-weight: ${weight};\n  font-display: swap;\n  unicode-range: ${unicodeRange};\n  src: ${src};\n}`;\n```\n\n## Acknowledgements\n\n`fontace` uses the [`fontkitten`](https://www.npmjs.com/package/fontkitten) package to extract data from font files.\n\n## License\n\n[MIT](LICENSE)\n","readmeFilename":"README.md"}