{"_id":"@web-alchemy/fonttools","_rev":"18-66d7d22f5cdd3394d75bd6f94187e8d1","name":"@web-alchemy/fonttools","dist-tags":{"canary":"1.4.0-0","latest":"1.4.0"},"versions":{"0.0.1":{"name":"@web-alchemy/fonttools","version":"0.0.1","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@0.0.1","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"subset":"bin/subset"},"dist":{"shasum":"c374d9e1f44c74c3e08300b7c04cac31571477ca","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-0.0.1.tgz","fileCount":7,"integrity":"sha512-yhadXwMGwokBpFydjoBhb55TFIStMcJVVRC73s/pLqMFYN8LebR4ze9bQqSvp2MUwQHIugvhEswUTqUVO4C7Ag==","signatures":[{"sig":"MEUCIQDPU49spLe3q3MjOB5YuaojyOFX3c9ySAdqFZ7n/vENxwIgZOklfVO/osE/pjYbWDp5ATQBbXgLpqj3+DB3pnXyQog=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7634},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"d4373dbd20b4181c5e38699b5a19547239b6dec6","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"9.5.1","description":"Tool uses [Pyodide](https://pyodide.org) and [Font Tools](github.com/fonttools/fonttools) and support small options set of original [font tools subset CLI](https://fonttools.readthedocs.io/en/latest/subset/index.html).","directories":{},"_nodeVersion":"18.16.0","dependencies":{"pyodide":"^0.23.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_0.0.1_1685044647492_0.8968482225282819","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"@web-alchemy/fonttools","version":"0.1.0","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@0.1.0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"subset":"bin/subset"},"dist":{"shasum":"c59489764345173913dcfc7b3bfa585d8d85a9d9","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-0.1.0.tgz","fileCount":8,"integrity":"sha512-AaaWmczhcvlLEGxf39cJuJantxGEHUMh7BeMM4NXFwMTCy/MTD9DldQ9D4GuENKR+iBEOEEsBP1GgVm0DJTHLw==","signatures":[{"sig":"MEYCIQDITrAgl7d5Vh5+w8w3EdXdZYgvVcFRh/3mYkg2xx9hawIhAIZBCDRroJ3lO481PPyq2+oZOyV8dnsCo/OJyYEgu30c","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8676},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"b94a3af1798e51d9cc4e9c423354541eaff138f4","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"9.5.1","description":"Tool uses [Pyodide](https://pyodide.org) and [Font Tools](github.com/fonttools/fonttools) and support small options set of original [font tools subset CLI](https://fonttools.readthedocs.io/en/latest/subset/index.html).","directories":{},"_nodeVersion":"18.16.0","dependencies":{"pyodide":"^0.23.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_0.1.0_1685087178958_0.5017927488046829","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@web-alchemy/fonttools","version":"1.0.0","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.0.0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"1e6ec97656d61370fd7e2945fbd20b8463286d2f","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.0.0.tgz","fileCount":8,"integrity":"sha512-DVeWCv0Y79yA+wMdgmoRFakGyJAzuq1geKAycLUaj/FUAhRth2zS5KnbkeTVn1bVpkqSQokZSco1Di2DIR3qnw==","signatures":[{"sig":"MEUCIAQ+g59wONkxW2ruDaKQcJfURVx7TDWBKQVuh6w1IqdrAiEAkVeAwu0jJFHGwEon8XplTO+qaCp9RI9sxXcXzeSLbIE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7765},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"ee96c3c47b2938fe96282535efc542866dab414e","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"9.5.1","description":"Tool uses [Python Font Tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org).","directories":{},"_nodeVersion":"18.16.0","dependencies":{"pyodide":"^0.23.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.0.0_1687349631425_0.437018935314768","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@web-alchemy/fonttools","version":"1.0.1","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.0.1","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"6a03641d46fb42690434055fd57fa1a2673c404b","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.0.1.tgz","fileCount":46,"integrity":"sha512-29GnYE8BrGeKAtUvLYeQHEsSwhnFKP0tCyUJpSqq3YoXQ3mPl33TvpBWsvggVa6LZ2NXBVtWJeKKToF1yTMXAg==","signatures":[{"sig":"MEYCIQDop6m+LI66DdNX8DqiUELKcZC2Ykq5hEW63S/iMcqdxAIhAPuPkTbyhFp5U5KIWGwyjxkLx36ZSQshp0xK+Lb/oTPR","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1761623},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"d80d28b733a4ce90ea661b9c7040ead8e737e419","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.1.0","description":"The tool uses [Python Font Tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org).","directories":{},"_nodeVersion":"20.7.0","dependencies":{"pyodide":"^0.24.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.0.1_1696585051000_0.7074222836370174","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@web-alchemy/fonttools","version":"1.0.2","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.0.2","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"a37989b806e673623e7b658733a51d157932921c","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.0.2.tgz","fileCount":8,"integrity":"sha512-rGm2ukwUos/Lo62Icq26qU2kFt5SOLSI4HQ4LhHhmnQ139Hkz1/edLfodNmbrfWQIR6VMO94C6uSa/MrZaA8tQ==","signatures":[{"sig":"MEUCIQCKfdZCuBjaas9Ri2bvp9TD0/mgRUiHePU8+lN8p2H5CQIgYBeMBqXZ/FcbIXIAtMXRZE4dbkA1vH8A6II/9RQ/kps=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7861},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"a13b86f45609a5be2f1f1ac573ef1f40a256990e","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.3.0","description":"The tool uses [Python Font Tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.0.2_1707305310859_0.6664806566896455","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@web-alchemy/fonttools","version":"1.0.3","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.0.3","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"5c36c812cab048fa2f08b6bb155fd4064f54be48","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.0.3.tgz","fileCount":9,"integrity":"sha512-0SGDuesx5PwTendMqAR2fL6bU6i9YqB22k9nDQXRVos7k8GaQQmyOOd5XC1PWOmMZ0G4Os9Q65Sco3SFxPFViw==","signatures":[{"sig":"MEYCIQCGzDWSnOXW+T1np2OxB4xDg5JSUjNUmm8TwH3FnuVqhQIhAKVszgxEnVg73qRVf+upqskogPsHU7hKVBhxqEsUZKIf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8049},"main":"index.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"7abde96da4dc7201adb1556be82e4bbe64b9bd43","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.3.0","description":"The tool uses [Python Font Tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.0.3_1707389211657_0.8153679351572702","host":"s3://npm-registry-packages"}},"1.1.0-alpha1":{"name":"@web-alchemy/fonttools","version":"1.1.0-alpha1","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.1.0-alpha1","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"94d732ad0a4ea72447fe5302fd61f411d407b20b","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.1.0-alpha1.tgz","fileCount":22,"integrity":"sha512-w3ByAePnJKvAA4vaC+op2v92w7C19YXt3WlM9xfH3k6mILQQgtFhxqZNfjn0S6Mqt5eh6upHsxPeSov0q/Ervw==","signatures":[{"sig":"MEQCIHu5O5jvaX2C9UyQsL+w+juiSZDXqhyrBWURP9ykXUZ0AiBXO1EC+blHTuIOXR8bZpF5SDcHe/90f5AeznqQ1SyMog==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":14295},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"25d6ae888235e9c58ba0bc9bb4ccebfac979b6f5","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.3.0","description":"The tool uses [Python Font Tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/fonttools_1.1.0-alpha1_1707489109907_0.5904513779484772","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@web-alchemy/fonttools","version":"1.1.0","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.1.0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"781296b25cfbf7f9629d19038f02d276858fbbc2","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.1.0.tgz","fileCount":22,"integrity":"sha512-8R/YPfHLezgr0/js+EPOCOxRVbjKc9kZd7IC/jxEPsQM0ZEprZoAN1nah0fZsGrUL2lUHJD+O2KqQA4The35oQ==","signatures":[{"sig":"MEUCIQCDCz2UjG5c9PgiyFwdxpF1UCjFjrSMsEbQEN8+PRbx8QIgC35tAYK9pni3vXInXaCkQ9SimH/YYjuCCUHjenL7Cus=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16657},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"dc0acc30feaea7d713098aaa50d7d56b50cc3c70","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.3.0","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"20.11.0","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.1.0_1707582666399_0.30980496667675483","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@web-alchemy/fonttools","version":"1.1.1","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.1.1","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"6f4f41e4ed843b5b7daf933d93f1614df18a502f","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.1.1.tgz","fileCount":22,"integrity":"sha512-5vXRNY+8iIjkDQ8+FDr3pn9hLqAmqOQg1Mz5B0kd1njmLtVpI6g0DiMdBiS419d4cItrL4HibIaF2N6YjpZx6g==","signatures":[{"sig":"MEUCIAqunACIv9zyGr3g36aP5MmzkE2eHwOo2CY+5DH9Ar3UAiEAxmyWnimXLGyQzFLAkRNQ+T/2DI2nxMTDZZIrkfZYqZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":16611},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"b9d441f56ed4074ab40aa8a84b35035a9592ac9d","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.2.4","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.1.1_1709088829841_0.32317700148607265","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@web-alchemy/fonttools","version":"1.2.0","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.2.0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"852d07ad63d54a59a946a07f0cd9aa8a0b88b582","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.2.0.tgz","fileCount":23,"integrity":"sha512-pPF07IobH48qGuRCUEPTkOv5rQJTkyha9kMW6rIfJ5BLxY9nO8Jb4YyDP64pjTmDrDeAQWYMhKPWhfX2Ij/z5g==","signatures":[{"sig":"MEYCIQCzq+0FAKJhy39BDa+RLgMvMeVCKjjxWhiAAYEDRtx7ZgIhAN2kBdF71pIl1tAzcImr5Fc5oipqGFHzek57ZLDzk6BE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19552},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"402ed09b5d7dce6c650e8898aa47f8984b176538","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.2.4","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"pyodide":"^0.25.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.2.0_1710993367610_0.4115323131428561","host":"s3://npm-registry-packages"}},"1.3.0":{"name":"@web-alchemy/fonttools","version":"1.3.0","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.3.0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"8b977b0feee0ea855e63925322326b7d568de1a1","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.3.0.tgz","fileCount":24,"integrity":"sha512-PeAf+L4e/sVEH0Xw5g5lrLeOcHl6QCN8iFtN+idEG2ZYPcJtMwJQGHGoWAEdI06L4kzZWdAGmdot8G1TwuRrHQ==","signatures":[{"sig":"MEYCIQDetvVnsT+WPvPayk+G4y1IfO5H37I6BxCMIBihiPaz/AIhANcsvi1m2hOyc2v4wrZr4ofa9xZU+FxlfC2zrwBcLubM","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":19700},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"3d1942628ab943c1ce074ef96a4bcbe764da86fb","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postinstall":"node hooks/post-install.js","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.0","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pyodide":"^0.26.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.3.0_1734421585710_0.8461555201546982","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@web-alchemy/fonttools","version":"1.3.1","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.3.1","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"44954951ab24d448543b853e70c1ed8f0c8352ca","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.3.1.tgz","fileCount":23,"integrity":"sha512-S6XWH4zaqkvQudmT1ElIQAEzQnourtvmwNVDOU7xw8fuC06eOM4cJFrYR64RK7wxbEw/CvYJEF2CnYKyR9R+Vw==","signatures":[{"sig":"MEYCIQCkzVb0pC3J2tAqrLd0C8DGtDq2NUUIr+tkEw26qTfk7wIhAOutWwjPxkoVdsWByMqNs6M6Zi76cfOCkAWsA5EUVb7P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18216},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"b84b70e32881f7dd109c76bef26c3eed06711c38","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postinstall":"node hooks/post-install.js","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.0","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.12.0","dependencies":{"pyodide":"^0.26.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.3.1_1734730201248_0.8128947778600348","host":"s3://npm-registry-packages-npm-production"}},"1.3.2":{"name":"@web-alchemy/fonttools","version":"1.3.2","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.3.2","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"644f3b400be7a8b0c58fa6327b0b5684f4ab1707","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.3.2.tgz","fileCount":23,"integrity":"sha512-/MSxXIS8bbFbb5/m6Ve/yyVZdIWWEarPx6jxlybRFMwQXgifYiX2cwaSIPgLl18e0P4OtIvR7sIFZsKvpzZmLA==","signatures":[{"sig":"MEQCIAdGWGcKw6aVBSrxFvYDThC0GxT9jCzUERU20mAl7wDWAiAlHsXqSoLKF+wmoR/8osNzPiSSTjuFHTHQjKWoe+dR0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18216},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"313832ad4d539e461e1d535e5116c9815edba8ac","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postinstall":"node hooks/post-install.js","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.13.0","dependencies":{"pyodide":"^0.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.3.2_1737096264795_0.012463956452801739","host":"s3://npm-registry-packages-npm-production"}},"1.3.3":{"name":"@web-alchemy/fonttools","version":"1.3.3","keywords":["fonttools","fonts","subset","pyodide","optimization","woff2"],"_id":"@web-alchemy/fonttools@1.3.3","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"bb7b3214fb5841c94331bfd23e21da75eb2db918","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.3.3.tgz","fileCount":23,"integrity":"sha512-7HTyW7Ux6Af547o7YUFj5fzFqNLdXgxb4isDAd/Zi8HwDeQXKkF6Mt5RKMT0IIxMNuGEDLdQpWWTQQjpVK+ynw==","signatures":[{"sig":"MEYCIQDdB/LTwBH+KlCqG6kOaSx1hzfV5ZnrhXgxcBWZ2fIwrQIhAKdJoaoMBqeUtwSZZrYOcfPpAZ6vFTsMPMT05TnGO8Z7","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18224},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"42b569aa909897d16f3a6c2dad196ca487888172","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postinstall":"node hooks/post-install.js","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"pyodide":"^0.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.3.3_1746783247061_0.4782400517548495","host":"s3://npm-registry-packages-npm-production"}},"1.4.0-0":{"name":"@web-alchemy/fonttools","version":"1.4.0-0","keywords":["fonttools","font","fonts","webfont","web-font","typography","subset","pyodide","python","optimization","convert","opentype","truetype","ttf","woff","woff2","wasm","webassembly","cli","command-line"],"_id":"@web-alchemy/fonttools@1.4.0-0","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"5faaa86e04a685a20fe8deb8d5f31fe18c93b7e3","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.4.0-0.tgz","fileCount":28,"integrity":"sha512-fxFKSL0FQSMxzfyPw1dbaP2AaTG+tUsCjgvBT/CL4uODh6poKY523rBuanqPiL0xqXWN+eMYg5GH4eUCQ6pSMw==","signatures":[{"sig":"MEUCIQDrbmB5IhOS21f37M82BZ/bxpGYQzZOaKHHTOyzbt8CDwIgCnVkA9VXMvldWh6DiC58hdek3S5qmFbfV3V6NpzZyOs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3196378},"main":"src/main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"7ae1f14c66bee97ca5b2f550efd78179c00bd9a8","scripts":{"test":"echo \"No test specified\" && exit 0","pretest":"npm run install-packages","preversion":"npm test","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish","install-packages":"node src/scripts/install-packages.js","update-lock-file":"node src/scripts/update-lock-file.js"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"pyodide":"^0.28.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","_npmOperationalInternal":{"tmp":"tmp/fonttools_1.4.0-0_1753377733144_0.841091098812031","host":"s3://npm-registry-packages-npm-production"}},"1.3.4":{"name":"@web-alchemy/fonttools","version":"1.3.4","keywords":["fonttools","font","fonts","webfont","web-font","typography","subset","pyodide","python","optimization","convert","opentype","truetype","ttf","woff","woff2","wasm","webassembly","cli","command-line"],"_id":"@web-alchemy/fonttools@1.3.4","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"homepage":"https://github.com/web-alchemy/fonttools","bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"bin":{"ttx":"bin/ttx","fonttools":"bin/fonttools","pyftmerge":"bin/pyftmerge","pyftsubset":"bin/pyftsubset"},"dist":{"shasum":"3c0ad54828c9f917b188a23672708080542192e0","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.3.4.tgz","fileCount":23,"integrity":"sha512-nByaeVQ0gG1TJkL97xlxyhK3HoKa3VvRK9IniWLwqEpCpfdiOEWWfJ+eXsgAKP0smDd2c/LAXy6+90XlbkXC8g==","signatures":[{"sig":"MEUCICaVb5sHG9FNBpIfgYHthoV2E3z0WQmPd6nQrYg7kx2pAiEAzue70V3T7OZ1tXwT2FUO7S4ltygcqsW+WOkDunH+NO0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18502},"main":"main.js","engines":{"npm":">=9.0.0","node":">=18.0.0"},"gitHead":"50219fa000f052c848fcc33d56165904ffe141c1","scripts":{"test":"echo \"No test specified\" && exit 0","preversion":"npm test","postinstall":"node hooks/post-install.js","postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish"},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"repository":{"url":"git+https://github.com/web-alchemy/fonttools.git","type":"git"},"_npmVersion":"10.9.2","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","directories":{},"_nodeVersion":"22.17.0","dependencies":{"pyodide":"^0.27.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fonttools_1.3.4_1753518561019_0.14642759621783297","host":"s3://npm-registry-packages-npm-production"}},"1.4.0":{"name":"@web-alchemy/fonttools","version":"1.4.0","main":"src/main.js","bin":{"fonttools":"bin/fonttools","pyftsubset":"bin/pyftsubset","pyftmerge":"bin/pyftmerge","ttx":"bin/ttx"},"engines":{"node":">=18.0.0","npm":">=9.0.0"},"scripts":{"postpublish":"git push origin --all; git push origin --tags","postversion":"npm publish","preversion":"npm test","test":"echo \"No test specified\" && exit 0","install-python-packages":"node src/scripts/install-python-packages.js"},"dependencies":{"pyodide":"0.29.3"},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/web-alchemy/fonttools.git"},"keywords":["fonttools","font","fonts","webfont","web-font","typography","subset","pyodide","python","optimization","convert","opentype","truetype","ttf","woff","woff2","wasm","webassembly","cli","command-line"],"bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"homepage":"https://github.com/web-alchemy/fonttools","gitHead":"f2929803b30199764185591d1f73fa6fe4bd869d","_id":"@web-alchemy/fonttools@1.4.0","description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","_nodeVersion":"24.13.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-367nxtz8VdOWuShLt2lbWBx3kgk1c3L+wmNpZxmU/jRwSS9cm0API8twn9zRPVbW/gLK0lJR1fssltHRFS5FMA==","shasum":"9c93da914f8a3068e41f2aad956a1664017bf8d0","tarball":"https://registry.npmjs.org/@web-alchemy/fonttools/-/fonttools-1.4.0.tgz","fileCount":26,"unpackedSize":3196140,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDL3RjNEnFhuYIUpXJhabzHAG4m7c62TqJjn6SCNl2I1QIhAPpvwDEliIR9L5QMdzD2pZN0QGNr3iWJ1dClkhpk5VtA"}]},"_npmUser":{"name":"monochromer","email":"monochromer@mail.ru"},"directories":{},"maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fonttools_1.4.0_1773337765751_0.2763940321701399"},"_hasShrinkwrap":false}},"time":{"created":"2023-05-25T19:57:27.381Z","modified":"2026-03-12T17:49:26.196Z","0.0.1":"2023-05-25T19:57:27.660Z","0.1.0":"2023-05-26T07:46:19.142Z","1.0.0":"2023-06-21T12:13:51.593Z","1.0.1":"2023-10-06T09:37:31.165Z","1.0.2":"2024-02-07T11:28:31.035Z","1.0.3":"2024-02-08T10:46:51.800Z","1.1.0-alpha1":"2024-02-09T14:31:50.144Z","1.1.0":"2024-02-10T16:31:06.607Z","1.1.1":"2024-02-28T02:53:50.011Z","1.2.0":"2024-03-21T03:56:07.782Z","1.3.0":"2024-12-17T07:46:25.986Z","1.3.1":"2024-12-20T21:30:01.435Z","1.3.2":"2025-01-17T06:44:24.956Z","1.3.3":"2025-05-09T09:34:07.240Z","1.4.0-0":"2025-07-24T17:22:13.415Z","1.3.4":"2025-07-26T08:29:21.263Z","1.4.0":"2026-03-12T17:49:26.088Z"},"bugs":{"url":"https://github.com/web-alchemy/fonttools/issues"},"homepage":"https://github.com/web-alchemy/fonttools","keywords":["fonttools","font","fonts","webfont","web-font","typography","subset","pyodide","python","optimization","convert","opentype","truetype","ttf","woff","woff2","wasm","webassembly","cli","command-line"],"repository":{"type":"git","url":"git+https://github.com/web-alchemy/fonttools.git"},"description":"This is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.","maintainers":[{"name":"monochromer","email":"monochromer@mail.ru"}],"readme":"# Font tools\n\nThis is the Node.js adapter of [python font tools](https://github.com/fonttools/fonttools) via [Pyodide](https://pyodide.org) without having to install python and its dependencies.\n\nFont tools library usually used for optimizing fonts – subseting, format converting, deleting of unused variable font axes, etc.\n\n## Using as a CLI\n\nYou can install the library as a global dependency:\n\n```shell\nnpm install --global @web-alchemy/fonttools\n```\n\nAfter installing [font utilities](https://fonttools.readthedocs.io/en/latest/#utilities) will be available globally:\n\n```shell\nfonttools <params>\npyftsubset <params>\npyftmerge <params>\nttx <params>\n```\n\nAlso you can use this tool via [npx](https://docs.npmjs.com/cli/commands/npx):\n\n```shell\nnpx --package=@web-alchemy/fonttools -- fonttools <params>\nnpx --package=@web-alchemy/fonttools -- pyftsubset <params>\nnpx --package=@web-alchemy/fonttools -- pyftmerge <params>\nnpx --package=@web-alchemy/fonttools -- ttx <params>\n```\n\nExample of converting `ttf` to `woff2`:\n\n```shell\nnpx --package=@web-alchemy/fonttools -- pyftsubset \\\n  \"./some/path/to/font.ttf\" \\\n  \"*\" \\  # keep all glyphs and just convert format\n  --output-file=\"./some/path/to/font.woff2\" \\\n  --flavor=\"woff2\"\n```\n\nExample of converting `ttf` to `woff2` and subseting with text and unicodes options:\n\n```shell\nnpx --package=@web-alchemy/fonttools -- pyftsubset \\\n  \"./some/path/to/font.ttf\" \\\n  --output-file=\"./some/path/to/font.woff2\" \\\n  --flavor=\"woff2\" \\\n  --text=\"The text whose characters will be included in the font file\" \\\n  --unicodes=\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\" \\\n  --desubroutinize \\\n  --no-hinting \\\n  --layout-features=\"*\"\n```\n\nExample of [customizing variable font's axes](https://fonttools.readthedocs.io/en/latest/varLib/instancer.html):\n\n```shell\nnpx --package=@web-alchemy/fonttools -- fonttools varLib.instancer \\\n  \"./src/font.woff2\" \\\n  # decrease `wght` axis range\n  wght=400:600 \\\n  # delete `wdth` axis\n  wdth=drop \\ \n  --output=\"./dist/font.woff2\"\n```\n\n## Using as a module\n\nLibrary provides few JavaScript specific methods:\n\n```javascript\nconst {\n  subset,\n  instantiateVariableFont,\n  ttx\n} = require('@web-alchemy/fonttools')\n```\n\nExample of converting `ttf` to `woff2`:\n\n```javascript\nconst fs = require('node:fs')\nconst { subset } = require('@web-alchemy/fonttools')\n\nasync function main() {\n  const inputFileBuffer = await fs.promises.readFile('./font.ttf')\n\n  const outputFileBuffer = await subset(inputFileBuffer, {\n    '*': true, // keep all glyphs and just convert format\n    'flavor': 'woff2',\n  })\n\n  await fs.promises.writeFile('./font.woff2', outputFileBuffer)\n}\n\nmain()\n```\n\nExample of converting `ttf` to `woff2` and subseting with text and unicodes options:\n\n```javascript\nconst fs = require('node:fs')\nconst { subset } = require('@web-alchemy/fonttools')\n\nasync function main() {\n  const inputFileBuffer = await fs.promises.readFile('./font.ttf')\n\n  const outputFileBuffer = await subset(inputFileBuffer, {\n    'text': \"The text whose characters will be included in the font file\",\n    'unicodes': \"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",\n    'flavor': 'woff2',\n  })\n\n  await fs.promises.writeFile('./font.woff2', outputFileBuffer)\n}\n\nmain()\n```\n\nMethod `subset` takes same params as [original `pyftsubset` utility](https://fonttools.readthedocs.io/en/latest/subset/index.html)(without dashes `--`).\n\nExample of [customizing variable font's axes](https://fonttools.readthedocs.io/en/latest/varLib/instancer.html):\n\n```javascript\nconst fs = require('node:fs')\nconst { instantiateVariableFont } = require('@web-alchemy/fonttools')\n\nasync function main() {\n  const inputFileBuffer = await fs.promises.readFile('./src/font.woff2')\n\n  const outputFileBuffer = await instantiateVariableFont(inputFileBuffer, {\n    wght: [300, 500], // decrease `wght` axis range\n    wdth: null // delete `wdth` axis\n  })\n\n  await fs.promises.writeFile('dist/font.woff2', outputFileBuffer)\n}\n\nmain()\n```\n\nThis is port of [method `varLib.instancer.instantiateVariableFont`](https://fonttools.readthedocs.io/en/latest/varLib/instancer.html#fontTools.varLib.instancer.instantiateVariableFont).\n\nMethod `ttx` can convert binary font files (.otf, .ttf, etc) to the TTX XML format and convert them back to binary format.\n\nExample of converting binary files to xml:\n\n```javascript\nconst fs = require('node:fs');\nconst { ttx } = require('@web-alchemy/fonttools');\n\n(async () => {\n  const outputTtxBuffer = await ttx('./font.ttf'); // also accept `URL` and `Buffer`\n  await fs.promises.writeFile('./font.ttx', outputTtxBuffer);\n  \n  const outputOtxBuffer = await ttx('./font.otf');\n  await fs.promises.writeFile('./font.otx', outputOtxBuffer);\n})();\n```\n\nExample of converting xml files to binary files:\n\n```javascript\nconst fs = require('node:fs');\nconst { ttx } = require('@web-alchemy/fonttools');\n\n(async () => {\n  const ttfBuffer = await ttx('./font.ttx');\n  await fs.promises.writeFile('./font.ttf', ttfBuffer);\n  \n  const otfBuffer = await ttx('./font.otx');\n  await fs.promises.writeFile('./font.otf', otfBuffer);\n})();\n```\n\nExample of converting xml files to binary files with encoding to `woff2`:\n\n```javascript\nconst fs = require('node:fs');\nconst { ttx } = require('@web-alchemy/fonttools');\n\n(async () => {\n  const ttfBuffer = await ttx('./font.ttx', [\n    ['--flavor', 'woff2']\n  ]);\n  await fs.promises.writeFile('./font.woff2', ttfBuffer);\n  \n  const otfBuffer = await ttx('./font.otx', [\n    ['--flavor', 'woff2']\n  ]);\n  await fs.promises.writeFile('./font.woff2', otfBuffer);\n})();\n```\n\n## Limitations\n\n- Doesn't support [zopfli](https://pypi.org/project/zopfli/) package for better optimizing woff files.\n- In CLI all file paths should be relative to `cwd` (current working directory).\n\n## References\n\n- Python font tools. [Github](https://github.com/fonttools/fonttools), [Site](https://fonttools.readthedocs.io/en/latest/).\n- Pyodide. [Github](https://github.com/pyodide), [Site](https://pyodide.org).","readmeFilename":"README.md"}