Skip to content

Commit b48eb83

Browse files
collect plugins data
1 parent b604b76 commit b48eb83

202 files changed

Lines changed: 1991 additions & 1995 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

npm-data/links.json

Lines changed: 208 additions & 208 deletions
Large diffs are not rendered by default.

npm-data/maintained-plugins.json

Lines changed: 343 additions & 343 deletions
Large diffs are not rendered by default.

npm-data/maybe-plugins.json

Lines changed: 781 additions & 785 deletions
Large diffs are not rendered by default.

npm-data/plugins.json

Lines changed: 461 additions & 461 deletions
Large diffs are not rendered by default.

npm-data/plugins/@alaguna/postcss-font-magician.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,5 @@
166166
"license": "CC0-1.0",
167167
"readme": "# Font Magician [![Build Status][ci-img]][ci]\n\n<img align=\"right\" width=\"135\" height=\"95\" src=\"http://postcss.github.io/postcss/logo-leftp.png\" title=\"Philosopher’s stone, logo of PostCSS\">\n\n[Font Magician] is a [PostCSS] plugin that magically generates all of your `@font-face` rules. Never write a `@font-face` rule again.\n\nJust use the **font** and **font-family** properties as if they were magic.\n\n```css\n/* before */\n\nbody {\n font-family: \"Alice\";\n}\n\n/* after */\n\n@font-face {\n font-family: \"Alice\";\n font-style: normal;\n font-weight: 400;\n src: local(\"Alice\"), local(\"Alice-Regular\"),\n url(\"http://fonts.gstatic.com/s/alice/v7/sZyKh5NKrCk1xkCk_F1S8A.eot?#\") format(\"eot\"),\n url(\"http://fonts.gstatic.com/s/alice/v7/l5RFQT5MQiajQkFxjDLySg.woff2\") format(\"woff2\"),\n url(\"http://fonts.gstatic.com/s/alice/v7/_H4kMcdhHr0B8RDaQcqpTA.woff\") format(\"woff\"),\n url(\"http://fonts.gstatic.com/s/alice/v7/acf9XsUhgp1k2j79ATk2cw.ttf\") format(\"truetype\")\n}\n\nbody {\n font-family: \"Alice\";\n}\n```\n\n* Want to use **[Google Fonts](#foundries)**? I’ll add them for you.\n* Want to use the visitor’s **local** copy of a font? Done.\n* Want to **[host](#hosted)** your own fonts? Just tell me where they are, and I’ll do the rest.\n* Want to load a font **[async](#async)** and only use it after it has been loaded? I can do that too.\n* Want to use **[Bootstrap](#foundries)** typography? Beautiful, fully-stacked families for **serif**, **sans-serif**, and **monospace** are waiting for you.\n\nSeriously, never write a `@font-face` rule again.\n\nNeed more? Request additional magic by [creating an issue].\n\n## Installation\n\nAdd [Font Magician] to your build tool.\n```sh\nnpm install postcss-font-magician --save-dev\n```\nor\n```sh\nyarn add postcss-font-magician --dev\n```\n\n### Node\n\nUse [Font Magician] in your script:\n ```js\n const pfm = require('postcss-font-magician');\n postcss([\n pfm({ /* options */ })\n ]).process(\n fs.readFileSync('./css/src/style.css', 'utf8')\n ).then(function (result) {\n fs.writeFileSync('./css/style.css', result.css);\n });\n ```\n\n\n### Webpack\n\nUse [Font Magician] in your webpack.config.js:\n\n *Webpack 1.x*\n\n ```js\n postcss: function () {\n return [\n ...\n fontMagician({\n variants: {\n 'Roboto Condensed': {\n '300': [],\n '400': [],\n '700': []\n }\n },\n foundries: ['google']\n })\n ...\n ];\n }\n ```\n\n *Webpack 2.x*\n\n ```js\n plugins: [\n new webpack.LoaderOptionsPlugin({\n options: {\n ...\n postcss: [\n ...\n fontMagician({\n variants: {\n 'Roboto Condensed': {\n '300': [],\n '400': [],\n '700': []\n }\n },\n foundries: ['google']\n })\n ]\n },\n }),\n ...\n ]\n ```\n\n *Webpack 3+*\n\n **postcss.config.js**\n ```js\n module.exports = {\n plugins: {\n 'postcss-font-magician': {\n variants: {\n 'Roboto Condensed': {\n '300': [],\n '400': [],\n '700': []\n }\n },\n foundries: ['google']\n }\n }\n }\n ```\n\n **webpack.config.js**\n ```js\n {\n loader: 'postcss-loader',\n options: {\n config: {\n path: 'path/to/postcss.config.js'\n }\n }\n }\n ```\n\n### Grunt\n\nUse [Font Magician] in your Gruntfile:\n ```js\n grunt.loadNpmTasks('grunt-postcss');\n\n grunt.initConfig({\n postcss: {\n options: {\n processors: [\n require('postcss-font-magician')({ /* options */ })\n ]\n },\n src: './css/src/*.css',\n dest: './css'\n }\n });\n ```\n\n### Gulp\n\nUse [Font Magician] in your Gulpfile:\n ```js\n var postcss = require('gulp-postcss');\n\n gulp.task('css', function () {\n return gulp.src('./css/src/*.css').pipe(\n postcss([\n require('postcss-font-magician')({ /* options */ })\n ])\n ).pipe(\n gulp.dest('./css')\n );\n });\n ```\n\n## Options\n\n### variants\n\nWant to download only specific font weights, styles and formats?\n\n```js\nrequire('postcss-font-magician')({\n variants: {\n 'Open Sans': {\n '300': ['woff, eot, woff2'],\n '400 italic': ['woff2']\n }\n }\n});\n```\n\nThe plugin will download the font only selected weights, styles and formats.\n\n### unicode-range\n\nNeed to support [unicode-range](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/unicode-range)? You can use it as a second element in an option array.\n\n```js\nrequire('postcss-font-magician')({\n variants: {\n 'Open Sans': {\n '300': ['woff, eot, woff2', 'U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF'],\n '400 italic': ['woff2']\n }\n }\n});\n```\n\n### font-stretch\n\nNeed to support [font-stretch](https://developer.mozilla.org/en-US/docs/Web/CSS/font-stretch)? You can use it as a 2nd or 3rd params in an option key.\n\n```js\nrequire('postcss-font-magician')({\n variants: {\n 'Open Sans': {\n '300 ultra-condenced': ['woff, eot, woff2'],\n '400 italic': ['woff2'],\n '400 italic semi-expanded': ['woff2']\n }\n }\n});\n```\n\n### font-display\n\nNeed to control how custom fonts display when they loading? You can use [font-display](https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display) css rule. \n\n```js\nrequire('postcss-font-magician')({\n display: 'swap'\n});\n```\n\n### hosted\n\nHave a directory of self-hosted fonts?\n\n```js\nrequire('postcss-font-magician')({\n hosted: ['./src/fonts', /custom/path/to/fonts/on/site]\n});\n```\n\nThe directory will be scanned for font files, which will be read and automatically added if they are used in the document.\n\n**Please note** that at the moment the plugin doesn't detect woff2 fonts\n\nThe first argument of `hosted` array is required and it should be a path that related to the project root. i.e. `./src/fonts`\nIn this case, the path to the fonts folder structure must match the structure of the path to the fonts folder on the server, because the path will be relative css file.\n\nThe second argument of `hosted` array is optional and it can be an arbitrary path which should match the fonts directory on the site.\ni.e. `/assets/fonts`\n\n\n### aliases\n\nPrefer another name for particular fonts?\n\n```js\nrequire('postcss-font-magician')({\n aliases: {\n 'sans-serif': 'Source Sans Pro'\n }\n});\n```\n\nThe `@font-face` rule will be updated so that your alias key is the new name of the font family.\n\nYou can also use the 'aliases' option with other options, i.g with the 'variants'\n\n\n```js\nrequire('postcss-font-magician')({\n aliases: {\n 'sans-serif': 'Source Sans Pro'\n },\n variants: {\n 'sans-serif': {\n '400': ['woff']\n }\n }\n});\n```\n\n### async\n\nNeed to load the fonts asynchronously?\n\n```js\nrequire('postcss-font-magician')({\n async: 'path/to/your-fonts-async-loader.js'\n});\n```\n\nAny `@font-face` rules are moved out of CSS and into a JavaScript file may be added to a page separately. It will automatically load the fonts before using them.\n\n### formats\n\nWant to control which font formats are used?\n\n```js\nrequire('postcss-font-magician')({\n formats: 'woff2 woff'\n});\n```\n\nBy default, `local`, `woff2`, `woff`, and `eot` are enabled.\nSupported formats include `local`, `woff2`, `woff`, `ttf`, `eot`, `svg`, and `otf`.\n\n### foundries\n\nWant to enable specific foundries? Provide a space-separated list or array:\n\n```js\nrequire('postcss-font-magician')({\n foundries: 'bootstrap google'\n});\n```\n\nBy default, all foundries are enabled.\nSupported foundries include `custom`, `hosted`, `bootstrap`, and `google`.\n\n### custom\n\nNeed something very specific? I can do that, too.\n\n```js\nrequire('postcss-font-magician')({\n custom: {\n 'My Special Font': {\n variants: {\n normal: {\n 400: {\n url: {\n woff2: 'path/to/my-body-font-normal-400.woff2',\n woff: 'path/to/my-body-font-normal-400.woff'\n }\n },\n 700: {\n url: {\n woff2: 'path/to/my-body-font-normal-700.woff2'\n }\n }\n },\n italic: {\n 400: {\n url: {\n woff2: 'path/to/my-body-font-italic-400.woff2'\n }\n }\n }\n }\n }\n }\n});\n```\n\n### protocol\n\nDo you want to control the font URL-address protocol?\n\n```js\nrequire('postcss-font-magician')({\n protocol: 'https:'\n});\n```\n\nBy default, 'http/https' protocol is removed from the font url.\nSupports any string values, eg - '', 'http:' or 'https:'\n\n## Ignore\n\nIf you don't need Font Magician in some part of your CSS, you can use control comments to disable it.\n\n```css\n\nbody {\n /* font-magician: ignore next */\n font-family: \"Alice\"; /* will not generate font-face */ \n}\n```\n\n## Future\n\nLook forward to more magic, like:\n\n- Support for the TypeKit foundry.\n- Option to warn you when unmatched typefaces are used.\n\nEnjoy!\n\n[ci]: https://travis-ci.org/jonathantneal/postcss-font-magician\n[ci-img]: https://travis-ci.org/jonathantneal/postcss-font-magician.svg\n[creating an issue]: https://github.com/jonathantneal/postcss-font-magician/issues\n[Font Magician]: https://github.com/jonathantneal/postcss-font-magician\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[Gulp PostCSS]: https://github.com/postcss/gulp-postcss\n[PostCSS]: https://github.com/postcss/postcss\n",
168168
"readmeFilename": "README.md",
169-
"_downloads": 21
169+
"_downloads": 14
170170
}

npm-data/plugins/@applaud/postcss-svgo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,5 +279,5 @@
279279
"license": "MIT",
280280
"readme": "# @applaud/postcss-svgo\n\n> Optimise inline SVG with PostCSS.\n\n\n## Install\n\nWith [npm](https://npmjs.org/package/@applaud/postcss-svgo) do:\n\n```\nnpm install @applaud/postcss-svgo --save\n```\n\n\n## Example\n\n### Input\n\n```css\nh1 {\n background: url('data:image/svg+xml;charset=utf-8,<?xml version=\"1.0\" encoding=\"utf-8\"?><!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\"><svg version=\"1.1\" id=\"Layer_1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" xml:space=\"preserve\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"yellow\" /></svg>');\n}\n\nh2 {\n background: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI+PGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iNDAiIGZpbGw9InllbGxvdyIgLz48IS0tdGVzdCBjb21tZW50LS0+PC9zdmc+');\n}\n```\n\n### Output\n\n```css\nh1 {\n background: url('data:image/svg+xml;charset=utf-8,<svg xmlns=\"http://www.w3.org/2000/svg\"><circle cx=\"50\" cy=\"50\" r=\"40\" fill=\"%23ff0\"/></svg>');\n}\n\nh2 {\n background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjQwIiBmaWxsPSIjZmYwIi8+PC9zdmc+');\n}\n```\n\n\n## API\n\n### `svgo([options])`\n\nNote that postcss-svgo is an *asynchronous* processor. It cannot be used\nlike this:\n\n```js\nvar result = postcss([ svgo() ]).process(css).css;\nconsole.log(result);\n```\n\nInstead make sure your PostCSS runner uses the asynchronous API:\n\n```js\npostcss([ svgo() ]).process(css).then(function (result) {\n console.log(result.css);\n});\n```\n\n#### options\n\n##### encode\n\nType: `boolean`\nDefault: `undefined`\n\nIf `true`, it will encode URL-unsafe characters such as `<`, `>` and `&`;\n`false` will decode these characters, and `undefined` will neither encode nor\ndecode the original input. Note that regardless of this setting, `#` will\nalways be URL-encoded.\n\n##### plugins\n\nOptionally, you can customise the output by specifying the `plugins` option. You\nwill need to provide the config in comma separated objects, like the example\nbelow. Note that you can either disable the plugin by setting it to `false`,\nor pass different options to change the default behaviour.\n\n```js\nvar postcss = require('postcss');\nvar svgo = require('@applaud/postcss-svgo');\n\nvar opts = {\n plugins: [{\n removeDoctype: false\n }, {\n removeComments: false\n }, {\n cleanupNumericValues: {\n floatPrecision: 2\n }\n }, {\n convertColors: {\n names2hex: false,\n rgb2hex: false\n }\n }]\n};\n\npostcss([ svgo(opts) ]).process(css).then(function (result) {\n console.log(result.css)\n});\n```\n\nYou can view the [full list of plugins here][plugins].\n\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n[plugins]: https://github.com/svg/svgo/tree/master/plugins\n\n\n<h2 align=\"center\">Maintainers</h2>\n\n<table>\n <tbody>\n <tr>\n <td align=\"center\">\n <a href=\"https://github.com/Applaud-devpack\">\n <img width=\"150\" height=\"150\" src=\"https://github.com/Applaud-devpack.png?v=3&s=150\">\n </br>\n Applaud Dev team\n </a>\n </td>\n </tr>\n <tbody>\n</table>\n\n",
281281
"readmeFilename": "README.md",
282-
"_downloads": 52
282+
"_downloads": 50
283283
}

npm-data/plugins/@aschenoni/postcss-sass.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,5 +155,5 @@
155155
"license": "CC0-1.0",
156156
"readme": "# PostCSS Sass [<img src=\"https://postcss.github.io/postcss/logo.svg\" alt=\"PostCSS Logo\" width=\"90\" height=\"90\" align=\"right\">][postcss]\n\n[![NPM Version][npm-img]][npm-url]\n[![Linux Build Status][cli-img]][cli-url]\n[![Windows Build Status][win-img]][win-url]\n[![Support Chat][git-img]][git-url]\n\n[PostCSS Sass] lets you use [Sass] as a [PostCSS] plugin.\n\n```scss\n$font-stack: Helvetica, sans-serif;\n$primary-color: #333;\n\n:root {\n color: $primary-color;\n font: 100% $font-stack;\n}\n\n/* becomes */\n\n:root {\n color: #333;\n font: 100% Helvetica, sans-serif;\n}\n```\n\n[PostCSS Sass] uses [dart-sass], letting you safely run transforms before and\nafter Sass, watching for changes to Sass imports, and preserving source maps.\n\n## Usage\n\nAdd [PostCSS Sass] to your build tool:\n\n```sh\nnpm install postcss @csstools/postcss-sass --save-dev\n```\n\n#### Node\n\nUse [PostCSS Sass] to process your CSS:\n\n```js\nrequire('@csstools/postcss-sass').process(YOUR_CSS);\n```\n\n#### PostCSS\n\nUse [PostCSS Sass] as a plugin:\n\n```js\npostcss([\n require('@csstools/postcss-sass')(/* node-sass options */)\n]).process(YOUR_CSS);\n```\n\nThe standard CSS parser included with PostCSS may not be able to parse SCSS\nspecific features like inline comments. To accurately parse SCSS, use\nthe [SCSS Parser].\n\n```bash\nnpm install postcss-scss --save-dev\n```\n\n```js\nconst postcss = require('postcss');\nconst postcssSass = require('@csstools/postcss-sass');\n\npostcss([\n postcssSass(/* pluginOptions */)\n]).process(YOUR_CSS, {\n syntax: 'postcss-scss'\n});\n```\n\n#### Gulp\n\nAdd [Gulp PostCSS] to your build tool:\n\n```sh\nnpm install gulp-postcss --save-dev\n```\n\nUse [PostCSS Sass] in your Gulpfile:\n\n```js\nvar postcss = require('gulp-postcss');\n\ngulp.task('css', function () {\n return gulp.src('./src/*.css').pipe(\n postcss([\n require('@csstools/postcss-sass')(/* node-sass options */)\n ])\n ).pipe(\n gulp.dest('.')\n );\n});\n```\n\n#### Grunt\n\nAdd [Grunt PostCSS] to your build tool:\n\n```sh\nnpm install grunt-postcss --save-dev\n```\n\nUse [PostCSS Sass] in your Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-postcss');\n\ngrunt.initConfig({\n postcss: {\n options: {\n use: [\n require('@csstools/postcss-sass')(/* node-sass options */)\n ]\n },\n dist: {\n src: '*.css'\n }\n }\n});\n```\n\n## Options\n\n[PostCSS Sass] options are directly forwarded to [dart-sass options].\n\n[cli-img]: https://img.shields.io/travis/jonathantneal/postcss-sass.svg\n[cli-url]: https://travis-ci.org/jonathantneal/postcss-sass\n[git-img]: https://img.shields.io/badge/support-chat-blue.svg\n[git-url]: https://gitter.im/postcss/postcss\n[npm-img]: https://img.shields.io/npm/v/@csstools/postcss-sass.svg\n[npm-url]: https://www.npmjs.com/package/@csstools/postcss-sass\n[win-img]: https://img.shields.io/appveyor/ci/jonathantneal/postcss-sass.svg\n[win-url]: https://ci.appveyor.com/project/jonathantneal/postcss-sass\n\n[Gulp PostCSS]: https://github.com/postcss/gulp-postcss\n[Grunt PostCSS]: https://github.com/nDmitry/grunt-postcss\n[dart-sass]: https://github.com/sass/dart-sass\n[dart-sass options]: https://github.com/sass/dart-sass#javascript-api\n[PostCSS]: https://github.com/postcss/postcss\n[PostCSS Sass]: https://github.com/jonathantneal/postcss-sass\n[Sass]: https://github.com/sass/dart-sass\n[SCSS Parser]: https://github.com/postcss/postcss-scss\n",
157157
"readmeFilename": "README.md",
158-
"_downloads": 41
158+
"_downloads": 46
159159
}

npm-data/plugins/@birdiegyal/postcss-hsl-trans.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,5 +109,5 @@
109109
"license": "MIT",
110110
"readme": "# postcss-hsl-trans\n[PostCSS](https://github.com/postcss/postcss) plugin to convert hex colors to hsl.\n\n```css\n/* input: global.css */\n:root {\n --background: #fbfbf2;\n --foreground: #080708;\n}\n```\n\n```css\n/* output: global_built.css */\n:root {\n --background: 60 53% 97%;\n --foreground: 300 7% 3%;\n}\n```\n\n## Install\n\n```bash\nnpm i -D postcss-hsl-trans\n```\n\n## Usage\n\n```js\n// postcss.config.js\n\nexport default {\n plugins: {\n /* always add new plugins on the top as mentioned in the tw docs. */\n \"postcss-hsl-trans\": {},\n tailwindcss: {},\n autoprefixer: {}\n }\n}\n\n```\n\nSee [PostCSS](https://github.com/postcss/postcss) docs for examples for your environment.\n\n## Reasoning\n\nThis plugin allows you to use HEX colors all over your css file and upon build, transforms your HEX values to HSL for better compatibility with shadcn/ui. You can preview your colors too when using HEX values all over your stylesheet.\n\n\n",
111111
"readmeFilename": "README.md",
112-
"_downloads": 10
112+
"_downloads": 13
113113
}

0 commit comments

Comments
 (0)