{"_id":"@acymailing/svg-to-woff","_rev":"7-956b6b7d526fa5fbd7c9fce225e051de","name":"@acymailing/svg-to-woff","dist-tags":{"latest":"0.0.8"},"versions":{"0.0.1":{"name":"@acymailing/svg-to-woff","version":"0.0.1","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.1","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"8af276a632baa65360bac9121864bfe12ac0458a","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.1.tgz","fileCount":12,"integrity":"sha512-U2BXVgcucLAr7wyjdel9QMDOxGbKgcKBCQLugDGasrgQKreABjVCtWIPlIcEzeL5jigoo2MxcDjnGrUBa/h22A==","signatures":[{"sig":"MEQCIHXTAH8Xp2U/saX52Y+aMVJmetM8SNZcYi+Mi5V+N2v+AiAd+eEcCe5+c6uMczx+5ElAbn4XGqQvzXqe8t6CFHNvuA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13861},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.1_1739272174968_0.7930749875003287","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@acymailing/svg-to-woff","version":"0.0.2","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.2","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"64b1d7ee8f50d87c10254fa6150ee68fcbc53535","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.2.tgz","fileCount":12,"integrity":"sha512-TMoFVwzJ+DrzU5Q3NXa1rI0c4SYusjfFBQ6IG+CxU8tprYpshWxGC2iyk/HMGigTYWj8aLyVuUh3bRei2WXRIw==","signatures":[{"sig":"MEUCIQDDVx8JVMAqPTEBnjJ4hYdNeOpxsVlKaoOdi2dPMh9NOwIgTZNZQSno7u4JdhLfyubc5ga6HuV01GFZztUEcxv1SGo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13861},"main":"index.js","type":"module","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.2_1739278963773_0.6962994972340844","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@acymailing/svg-to-woff","version":"0.0.3","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.3","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"33e3c489b1d4266f9189bf28c0dc243476e0c66d","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.3.tgz","fileCount":12,"integrity":"sha512-rSeZmDEYLR/AlhLZQenNYogAyALZJJR7ywH99VqCEpWTVnnP6j/0p5Re4DjyNJEQjQpy08GHWoD88tWCLN4Jqg==","signatures":[{"sig":"MEYCIQCb6HdLt1wU+7iyTH/ABdJsNPsPCTN/lkn1lgoE84VO+AIhAOvi5XBzfDiUyTm4GTilmuou12TGTZzcofhEWt1nE+vT","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":13857},"main":"index.js","type":"module","gitHead":"1f6ec73043424b9c5210c221d4df586bf0ebb928","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.3_1739279133947_0.5122323059579938","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@acymailing/svg-to-woff","version":"0.0.4","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.4","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"3bee2590d1c12fb094e51ed2a3561ac66c7762c5","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.4.tgz","fileCount":18,"integrity":"sha512-86ljhb6LdTw8wOoIHS3HbsgQv3ft50G8FU6ZNqeGXUsXxPeGdLD2dTsj0qXT02m+fqzRI09Q0vY1PY6vD/1vEA==","signatures":[{"sig":"MEYCIQDuYfaejZSmIzGWQXZTm/oQXWg08eWhpbc29b1wNNGyQwIhAKjnz+Bc74OLabWNaAJ+XGdAleDGOr5CNW4n3zeKa9ad","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18677},"main":"index.js","type":"module","gitHead":"5c14e3534637aa9546d578d2b1d17c82f5064c27","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.4_1739977341290_0.9980824777438588","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@acymailing/svg-to-woff","version":"0.0.5","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.5","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"be2cd7019a39e374ef17bb2715618c3d30550e3d","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.5.tgz","fileCount":18,"integrity":"sha512-1RrDdKbSB6ivabMTPBJQyw0g5B9GUvFSxfU2MSbLjuuV13xpvOewH4aRTefzttg62DwCujntgrhxLmfaHkf2sw==","signatures":[{"sig":"MEYCIQD9bd8bdq2KA8sDx1yyKtbU8FPU1BBZRyQZR2zYHnKVSQIhAIM3v3N1vSgokwlDgh/ZqVZzH05wA5M8qQaZbEEtP/8/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18791},"main":"index.js","type":"module","gitHead":"284dc31e3e07d3a48fb3913db28bca6501a4283a","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.5_1740559589453_0.06138838972716165","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@acymailing/svg-to-woff","version":"0.0.6","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.6","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"b8134d3fdd25945b85c905752a7b46dc1b7284cc","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.6.tgz","fileCount":18,"integrity":"sha512-drZsZwBOpo3dmmZAzw/vqknyvfcjpwpFB5Cx4o1+Ndoilrx6VQcW6ztKCYtYibCoo3xiV0zBnOnHKUVIBWHvQA==","signatures":[{"sig":"MEUCIHPgeiEdyChxe630/MamFT8RXSSxNPuJXhja2CX5Qd5LAiEA/nsX64fg7r11k8rV+PFXf+n5c7AZ7CnSpIblsouHieg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19592},"main":"index.js","type":"module","gitHead":"7ce6c6a9c0dcc42369b1da906051eb44ae637e8f","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","unzipper":"^0.12.3","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.6_1740589353491_0.30530830750997184","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@acymailing/svg-to-woff","version":"0.0.7","author":"","license":"MIT","_id":"@acymailing/svg-to-woff@0.0.7","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"bin":{"generate-icon-font":"cli.js"},"dist":{"shasum":"1f05df60318cf8b349864cbe7c37515309272936","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.7.tgz","fileCount":18,"integrity":"sha512-If6ozl2XFt1cIsTW9OjiNio6DLkAhWdwY0anT8wwZL3scB4fs5q22MT6XjQ3hfYnUqrEG6GNWt2dmVrVC/llQQ==","signatures":[{"sig":"MEUCIEwPJCJVVocFg0njznFsrNesCB03tyQResLvXsuZ4MKCAiEAh6QlaU6GcnmMhGxtARIJb9HfWfQDQMptUkYgGhfkOvk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20602},"main":"index.js","type":"module","gitHead":"9a69ab2828aa24cbd3b76c0740639e0cc4d2afb0","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"_npmVersion":"10.7.0","description":"## Install","directories":{},"_nodeVersion":"20.14.0","dependencies":{"fs":"^0.0.1-security","path":"^0.12.7","svg2ttf":"^6.0.3","ttf2woff":"^3.0.0","ttf2woff2":"^6.0.1","oslllo-svg-fixer":"^5.0.0","svgicons2svgfont":"^15.0.0","fix-path-directions":"^1.0.3"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/svg-to-woff_0.0.7_1740999224570_0.05094605609160685","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"dependencies":{"fix-path-directions":"^1.0.3","fs":"^0.0.1-security","oslllo-svg-fixer":"^5.0.0","path":"^0.12.7","svg2ttf":"^6.0.3","svgicons2svgfont":"^15.0.0","ttf2woff":"^3.0.0","ttf2woff2":"^6.0.1"},"bin":{"generate-icon-font":"cli.js"},"name":"@acymailing/svg-to-woff","version":"0.0.8","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT","description":"## Install","type":"module","_id":"@acymailing/svg-to-woff@0.0.8","gitHead":"f3c411d4ce48968bdc8b434e66866dec9b0c5ebe","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-ESxscpEHbNMzvAZ7Cr9ai6usf5qEWPgEuSS2dutNGdA647PrIDsMg2SYboM2PL0siO/VrVCTyNSKlmQCYYaTaA==","shasum":"6d97fe385070973f17e39e337a4ebfea3b4ce47c","tarball":"https://registry.npmjs.org/@acymailing/svg-to-woff/-/svg-to-woff-0.0.8.tgz","fileCount":18,"unpackedSize":20760,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAZ0N7xnociCuEJ5B4ZGjP4jIJcamG619v+EohLhVTOaAiEAvJb0AqxEAFQjHe4itn3/Sz0Oud+P65dyDHrb6/E5gDo="}]},"_npmUser":{"name":"john-acyba","email":"john@acyba.com"},"directories":{},"maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/svg-to-woff_0.0.8_1741076146721_0.5001044059742052"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-11T11:09:34.884Z","modified":"2025-03-04T08:15:47.112Z","0.0.1":"2025-02-11T11:09:35.207Z","0.0.2":"2025-02-11T13:02:44.000Z","0.0.3":"2025-02-11T13:05:34.143Z","0.0.4":"2025-02-19T15:02:21.486Z","0.0.5":"2025-02-26T08:46:29.601Z","0.0.6":"2025-02-26T17:02:33.702Z","0.0.7":"2025-03-03T10:53:44.730Z","0.0.8":"2025-03-04T08:15:46.935Z"},"license":"MIT","description":"## Install","maintainers":[{"name":"john-acyba","email":"john@acyba.com"}],"readme":"# SVG to woff\n\n## Install\n\n```bash\nnpm install @acymailing/svg-to-woff\n```\n\n## Generate a new font\n\nThe library will generate CSS, Woff and Woff2 files.\n\nTo use your new font, you can use the class `[fontName]-[icon-name]` to display an icon.\n\nYou can check the icon-list.html in the output folder to see a list of all the icons.\n\n### Using the CLI\n\nIf you want to use the cli command you can either install it globally this way:\n\n```shell\nnpm install -g @acymailing/svg-to-woff\n```\n\n```shell\ngenerate-icon-font icon \"/path/to/icons.zip\" \"/path/to/output\"\n```\n\nOr you can use `npx` if you install it locally:\n```shell\nnpx generate-icon-font icon \"/path/to/icons.zip\" \"/path/to/output\"\n```\n\n### Using the code API\n\nUse the function `generateIconFont(fontName, zipFilePath)` to generate a new font from a zip file containing all the icons in SVG format.\n\n```javascript\nimport {generateIconFont} from '@acymailing/svg-to-woff';\n\nawait generateIconFont('icon', '/path/to/icons.zip', '/path/to/output');\n\n// CSS, Woff, Woff2 files are in the output folder\n// You also have the icon-list.html file to see all the icons\n```\n\n## Font name examples\n\n- `icon` => `<i class=\"icon-trash\"></i>`\n- `my-projet` => `<i class=\"my-projet-trash\"></i>`\n- `\"this is a test\"` => `<i class=\"thisisatest-trash\"></i>`\n\n## License\n\nThis library is released under the MIT license. You are free to use, modify, and distribute it as you see fit. See the LICENSE file for more information.\n","readmeFilename":"README.md"}