Installations
npm install fis-msprd-autoprefixer-loader_3_2_0
Developer Guide
Typescript
No
Module System
CommonJS
Node Version
6.9.1
NPM Version
4.1.1
Score
62.4
Supply Chain
96.2
Quality
74.1
Maintenance
25
Vulnerability
100
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (100%)
Developer
passy
Download Statistics
Total Downloads
826
Last Day
1
Last Week
2
Last Month
6
Last Year
56
GitHub Statistics
217 Stars
76 Commits
25 Forks
8 Watching
4 Branches
11 Contributors
Bundle Size
6.13 MB
Minified
723.52 kB
Minified + Gzipped
Package Meta Information
Latest Version
3.2.0
Package Id
fis-msprd-autoprefixer-loader_3_2_0@3.2.0
Size
2.90 kB
NPM Version
4.1.1
Node Version
6.9.1
Publised On
11 Jan 2017
Total Downloads
Cumulative downloads
Total Downloads
826
Last day
0%
1
Compared to previous day
Last week
100%
2
Compared to previous week
Last month
200%
6
Compared to previous month
Last year
-23.3%
56
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
4
Dev Dependencies
8
autoprefixer-loader
An autoprefixer loader for webpack.
:warning: This module is deprecated. Autoprefixer official page recommends using
postcss-loader
instead.
Usage
1var css = require('!raw!autoprefixer!./file.css'); // Just the CSS 2var css = require('!css!autoprefixer!./file.css'); // CSS with processed url(...)s
See css-loader to see the effect of processed url(...)
s.
Or within the webpack config:
1module: { 2 loaders: [{ 3 test: /\.css$/, 4 loader: 'css-loader!autoprefixer-loader?browsers=last 2 versions' 5 }] 6}
Then you can: var css = require('./file.css');
.
Use in tandem with the style-loader to add the css rules to your document
:
1module: { 2 loaders: [{ 3 test: /\.css/, 4 loader: 'style-loader!css-loader!autoprefixer-loader' 5 }] 6}
and then require('./file.css');
will compile and add the CSS to your page.
Options
browsers
Specify a single browser to support. Read more
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?browsers=last 2 version', 3 ... 4}]
For a list of browsers use JSON syntax.
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?{browsers:["last 2 version", "Firefox 15"]}', 3 ... 4}]
cascade
Default: true
When disabled, autoprefixer creates no visual cascade for the generated prefixes. Read more
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?cascade=false', 3 ... 4}]
safe
Default: false
When enabled, autoprefixer will attempt to parse invalid CSS. Read more
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?safe=true', 3 ... 4}]
add
Default: true
While disabled, autoprefixer will not add any new prefixes to your code. Read more
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?add=false', 3 ... 4}]
remove
Default: true
Whether or not autoprefixer should automatically remove outdated prefixes. Read more
1loaders: [{ 2 loader: 'css-loader!autoprefixer-loader?remove=false', 3 ... 4}]
Install
npm install autoprefixer-loader --save-dev
Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style.
Release History
- 3.1.0 - Upgrade dependencies, move to autoprefixer (no longer -core)
- 3.0.0 - Upgrade to autoprefixer-core 6.0
- 2.1.0 - Add
add
,remove
options, bump autoprefixer-core - 2.0.0 - Updated autoprefixer + postcss
- 1.2.0 - Added support for existing sourcemaps from earlier in the chain
- 0.1.0 - Initial release
License
Licensed under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 6/30 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 6 are checked with a SAST tool
Score
3.3
/10
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More