{"_id":"@alswl-org/google-fonts-webpack-plugin","_rev":"3-003d23fde7e81a8d5f1d2b89c64d371e","name":"@alswl-org/google-fonts-webpack-plugin","dist-tags":{"latest":"1.7.0-proxy"},"versions":{"1.7.0":{"name":"@alswl-org/google-fonts-webpack-plugin","version":"1.7.0","description":"Google Fonts Webpack plugin","main":"src/index.js","author":{"name":"Gabriela Seabra"},"license":"ISC","homepage":"https://github.com/alswl/google-fonts-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/alswl/google-fonts-webpack-plugin.git"},"keywords":["google","fonts","webfonts","webpack","plugin"],"scripts":{"test":"mocha --timeout 5000 spec --colors","watch":"mocha --timeout 5000 spec --colors --watch"},"devDependencies":{"eslint":"^5.0.1","memory-fs":"^0.4.1","mocha":"^5.2.0","should":"^13.2.1","webpack":"^4.14.0"},"dependencies":{"https-proxy-agent":"^2.2.1","lodash":"^4.17.4","md5":"^2.2.1","node-fetch":"^2.1.2","webpack-sources":"^1.1.0","yauzl":"^2.8.0"},"peerDependencies":{"webpack":">=4.14.0"},"gitHead":"5f7640f83086c769b4464db5341e80f3705a826b","bugs":{"url":"https://github.com/alswl/google-fonts-webpack-plugin/issues"},"_id":"@alswl-org/google-fonts-webpack-plugin@1.7.0","_nodeVersion":"16.11.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-iGAXTETEfC0Xk5ZK2G9N98k6vcdjFkFL/6kavM0oJWeYIK73JMivCc/pwx829X8Erc5eTMLr7hua5nkL4W5/MQ==","shasum":"38062593198e61630ff8050320e8429d68d721f2","tarball":"https://registry.npmjs.org/@alswl-org/google-fonts-webpack-plugin/-/google-fonts-webpack-plugin-1.7.0.tgz","fileCount":12,"unpackedSize":25669,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCk7eG/XJ3viKJLScxS/tHXvCnne2zbYo6y3zxP6Yf6bQIhAKg4QkA6cQVJ3ZLP4DNIpa1L4atSnFeqCQdm98RMHDr6"}]},"_npmUser":{"name":"alswl","email":"alswlx@gmail.com"},"directories":{},"maintainers":[{"name":"alswl","email":"alswlx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-fonts-webpack-plugin_1.7.0_1634628212907_0.3635304657319014"},"_hasShrinkwrap":false},"1.7.0-proxy":{"name":"@alswl-org/google-fonts-webpack-plugin","version":"1.7.0-proxy","description":"Google Fonts Webpack plugin","main":"src/index.js","author":{"name":"Gabriela Seabra"},"license":"ISC","homepage":"https://github.com/alswl/google-fonts-webpack-plugin","repository":{"type":"git","url":"git+https://github.com/alswl/google-fonts-webpack-plugin.git"},"keywords":["google","fonts","webfonts","webpack","plugin"],"scripts":{"test":"mocha --timeout 5000 spec --colors","watch":"mocha --timeout 5000 spec --colors --watch"},"devDependencies":{"eslint":"^5.0.1","memory-fs":"^0.4.1","mocha":"^5.2.0","should":"^13.2.1","webpack":"^4.14.0"},"dependencies":{"https-proxy-agent":"^2.2.1","lodash":"^4.17.4","md5":"^2.2.1","node-fetch":"^2.1.2","webpack-sources":"^1.1.0","yauzl":"^2.8.0"},"peerDependencies":{"webpack":">=4.14.0"},"gitHead":"39d51a68d9cb152a30d7093215ece7d3990df698","bugs":{"url":"https://github.com/alswl/google-fonts-webpack-plugin/issues"},"_id":"@alswl-org/google-fonts-webpack-plugin@1.7.0-proxy","_nodeVersion":"16.11.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-hv40X5TqlGU8JNzu4KFKGAFEeiL13MOINBSApzsHNMqQzIkXLRCT/ROAJDtgy8HC0uJQZ5GNaqCkdz5ajTV2aQ==","shasum":"4839e1b355ecf67cb847177faa6449559eede0c5","tarball":"https://registry.npmjs.org/@alswl-org/google-fonts-webpack-plugin/-/google-fonts-webpack-plugin-1.7.0-proxy.tgz","fileCount":12,"unpackedSize":25675,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzFEiCRA9TVsSAnZWagAAjQsP/Ax0Y4ZakuA30ho3yW50\nvHTHzab/S1yfuDQ9trSZNTEcffqY1HIHUkzIWzXwLeixywgOQQkb0JM4khvx\nLGu4nrhEhmcEBmjUrpaIriMbrlcHibgpieJ0/g6BP3A3fwpggCd2a0OQ+npD\n+Y/H1Da5MYsCZfsTh+xpIp78KZFO2Ga19BR4C+LVPMLLeFXfJTFKvYEPJCFk\npf6LB3ps3ERUZ+v/N+4ZSgdt1aeGbXzkOP5pagVRt3KRxFG6lyYG3S1kWlqo\nmZgnhgvqaizHTXKAhfHqnI2yP+6RkghoapnzwQj9uW8hDADVZFZUKdgc39oP\nlsfVmhHZ+0bBMhm/fxvZ/O2edcAnvtkVXEDevqlKfCTlGwvoVvqMSknMXg3h\nxA3Qb1SC8Ekmh4PPtxCfnqNpQpyBsaaCO/hmFE4BAEtbTtvKJbcT3hDvoa29\nbb5mE9LFOykyy3goRCuODveXrTbvQcZkX334RKLSYe5wS33SWb+/OprM5bLk\nl796CSe2UKLrb1iCLhstt8btOQvfjaGimnwLwo33V8Y0hCy+TahqAxwzRTzC\n7tTHHj89BN6EdQrS0jo2ct2OJM98dRcNPJIj4QFqDTZcN1OA4NefxziuMQX+\nsQM4zkectHf2mXJqbGAWnKauvSL0mCxGZotIkTTvn7quTyw5N004Ah+CqMBh\ncuB+\r\n=2tmp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4hSKymIHd92qVlUny6SUoRYVQTRvqO2VxsivXywDx5AIhAOoJTU/9Ouy7LuPqBbxA0EW2yDH6dtx/BZBwgopnwCXx"}]},"_npmUser":{"name":"alswl","email":"alswlx@gmail.com"},"directories":{},"maintainers":[{"name":"alswl","email":"alswlx@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/google-fonts-webpack-plugin_1.7.0-proxy_1634628674677_0.6630020714924054"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-19T07:23:32.862Z","1.7.0":"2021-10-19T07:23:33.058Z","modified":"2022-04-04T13:39:17.843Z","1.7.0-proxy":"2021-10-19T07:31:14.850Z"},"maintainers":[{"name":"alswl","email":"alswlx@gmail.com"}],"description":"Google Fonts Webpack plugin","homepage":"https://github.com/alswl/google-fonts-webpack-plugin","keywords":["google","fonts","webfonts","webpack","plugin"],"repository":{"type":"git","url":"git+https://github.com/alswl/google-fonts-webpack-plugin.git"},"author":{"name":"Gabriela Seabra"},"bugs":{"url":"https://github.com/alswl/google-fonts-webpack-plugin/issues"},"license":"ISC","readme":"# Google Fonts Webpack Plugin\n\n*Compatible with Webpack >= 4.14.0 and >= 5.0.0*\n\nDownload Google fonts to webpack build folder using [google-webfonts-helper](https://github.com/majodev/google-webfonts-helper) or use CDN to integrate with [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin).\n\n![publish](https://github.com/beyonk-adventures/google-fonts-webpack-plugin/workflows/publish/badge.svg)\n\n---\n\n## Install\n\n```bash\nnpm install @beyonk/google-fonts-webpack-plugin\n```\n\n## Usage\n\n`/webpack.config.js`\n```js\nconst GoogleFontsPlugin = require(\"@beyonk/google-fonts-webpack-plugin\")\n\nmodule.exports = {\n\t\"entry\": \"index.js\",\n\t/* ... */\n\tplugins: [\n\t\tnew GoogleFontsPlugin({\n\t\t\tfonts: [\n\t\t\t\t{ family: \"Source Sans Pro\" },\n\t\t\t\t{ family: \"Roboto\", variants: [ \"400\", \"700italic\" ], display: \"block\" }\n\t\t\t]\n\t\t\t/* ...options */\n\t\t})\n\t]\n}\n```\n\n## Options\n\n```js\nnew GoogleFontsPlugin(options: Object)\n```\n\n|Name|Type|Default|Description|\n|----|----|-------|-----------|\n|fonts|`FontObject[]`|-|Configuration generated by [Fontello.com](https://fontello.com).\n|name|`String`|`\"fonts\"`|Module name.\n|filename|`String`|`\"fonts.css\"`|Css file name.\n|path|`String`|`\"font/\"`|Relative path to fonts directory. If path is `undefined` fonts are not downloaded, the css file is generated with Google hosted font files.\n|local|`Boolean`|`true`|Whether to use google-webfonts-helper API or just link to Google Fonts hosted css. If this option is set to false this plugin just adds the css url to html-webpack-plugin (if present).\n|noLocalInCss|`Boolean`|`false`|Whether to prepend `local(FontName)` expression before font files in CSS file ([see MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/src)).\n|formats|`Array`|`[ \"eot\", \"woff\", \"woff2\", \"ttf\", \"svg\" ]`|Font formats to download.\n|apiUrl|`String`|`\"https://google-webfonts-helper.herokuapp.com/api/fonts\"`|google-webfonts-helper API url.\n\n\n### FontObject\n\n|Name|Type|Default|Description|\n|----|----|-------|-----------|\n|family|`String`|-|Font family.\n|variants|`Array`|-|Font variants according\tto google-webfonts-helper (e.g.: `[ \"italic\", \"500\", \"700italic\" ]`).\n|subsets|`Array`|-|Font subsets according\tto google-webfonts-helper (e.g.: `[ \"latin\", \"greek\" ]`).\n|formats|`Array`|-|Font formats to download. Defaults to `options.formats`.\n|display|`String`|\"swap\"|Font Display|\n","readmeFilename":"README.md"}