Gathering detailed insights and metrics for inline-style-prefixer
Gathering detailed insights and metrics for inline-style-prefixer
Gathering detailed insights and metrics for inline-style-prefixer
Gathering detailed insights and metrics for inline-style-prefixer
@types/inline-style-prefixer
TypeScript definitions for inline-style-prefixer
inline-style-prefix-all
Static Autoprefixer for inline styles
inline-style-prefixer-fork
Run-time Autoprefixer for JavaScript style objects
@glitz/prefixer-transformer
A TypeScript and Glitz wrapper for [`inline-style-prefixer/static`](https://github.com/rofrischmann/inline-style-prefixer).
Autoprefixer for JavaScript style objects
npm install inline-style-prefixer
Typescript
Module System
Node Version
NPM Version
99.1
Supply Chain
99.6
Quality
76.1
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
591,608,935
Last Day
137,029
Last Week
3,092,904
Last Month
13,633,567
Last Year
140,121,437
MIT License
393 Stars
379 Commits
59 Forks
5 Watchers
4 Branches
40 Contributors
Updated on Feb 15, 2025
Minified
Minified + Gzipped
Latest Version
7.0.1
Package Id
inline-style-prefixer@7.0.1
Unpacked Size
74.35 kB
Size
14.02 kB
File Count
59
NPM Version
10.2.3
Node Version
18.19.0
Published on
Jul 04, 2024
Cumulative downloads
Total Downloads
Last Day
-11.4%
137,029
Compared to previous day
Last Week
-9.9%
3,092,904
Compared to previous week
Last Month
2.5%
13,633,567
Compared to previous month
Last Year
23.1%
140,121,437
Compared to previous year
1
26
A small, simple and fast vendor prefixer from JavaScript style object.
1yarn add inline-style-prefixer
If you're still using npm, you may run npm i --save inline-style-prefixer
.
It supports all major browsers with the following versions. For other, unsupported browses, we automatically use a fallback.
It will only add prefixes if a property still needs them in one of the above mentioned versions.
Therefore, e.g. border-radius
will not be prefixed at all.
Need to support legacy browser versions?
Don't worry - we got you covered. Check this guide.
1import { prefix } from 'inline-style-prefixer' 2 3const style = { 4 transition: '200ms all linear', 5 boxSizing: 'border-box', 6 display: 'flex', 7 color: 'blue' 8} 9 10const output = prefix(style) 11 12output === { 13 WebkitTransition: '200ms all linear', 14 transition: '200ms all linear', 15 MozBoxSizing: 'border-box', 16 boxSizing: 'border-box', 17 display: [ '-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex' ], 18 color: 'blue' 19}
You can use TypeScript definition from DefinitelyTyped using @types/inline-style-prefixer
1yarn add @types/inline-style-prefixer 2 3# alternatively use npm 4npm i --save @types/inline-style-prefixer
If you got any issue using this prefixer, please first check the FAQ's. Most cases are already covered and provide a solid solution.
Here are some popular users of this library:
PS: Feel free to add your solution!
Join us on Gitter. We highly appreciate any contribution.
We also love to get feedback.
inline-style-prefixer is licensed under the MIT License.
Documentation is licensed under Creative Common License.
Created with ♥ by @rofrischmann and all contributors.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 8/21 approved changesets -- score normalized to 3
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
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
110 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
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