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
@glitz/prefixer-transformer
A TypeScript and Glitz wrapper for [`inline-style-prefixer/static`](https://github.com/rofrischmann/inline-style-prefixer).
@jetbrains/kotlin-styled
Kotlin wrappers for styled-components and inline-style-prefixer
jss-plugin-vendor-prefixer
JSS plugin that handles vendor prefixes in the browser
Autoprefixer for JavaScript style objects
npm install inline-style-prefixer
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
394 Stars
379 Commits
59 Forks
6 Watching
4 Branches
40 Contributors
Updated on 22 Oct 2024
Minified
Minified + Gzipped
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-4.7%
546,022
Compared to previous day
Last week
3.4%
2,883,350
Compared to previous week
Last month
13.5%
11,782,215
Compared to previous month
Last year
21.6%
126,101,253
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
104 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
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