Gathering detailed insights and metrics for postcss-icss-keyframes
Gathering detailed insights and metrics for postcss-icss-keyframes
Gathering detailed insights and metrics for postcss-icss-keyframes
Gathering detailed insights and metrics for postcss-icss-keyframes
PostCSS plugin for css-modules to local-scope keyframes
npm install postcss-icss-keyframes
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
6 Stars
10 Commits
3 Watching
1 Branches
10 Contributors
Updated on 09 May 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-17.4%
7,603
Compared to previous day
Last week
-8.7%
43,509
Compared to previous week
Last month
14.8%
215,547
Compared to previous month
Last year
-54.8%
2,900,673
Compared to previous year
3
PostCSS plugin for css-modules to local-scope keyframes.
1@keyframes foo { 2 from { width: 10px; } 3 to { width: 100px; } 4} 5 6/* transforms to */ 7 8:export { 9 foo: __scope__foo 10} 11@keyframes __scope__foo { 12 from { width: 10px; } 13 to { width: 100px; } 14}
1postcss([ require('postcss-icss-keyframes')(options) ])
See PostCSS docs for examples for your environment.
Converts every new animation name in @keyframes
defintion to global alias.
By default returns __filename__keyframesName
.
/* imported.css */
@keyframes foo {}
/* importer.css */
@value foo from './imported.css';
.bar {
animation-name: foo;
}
Animation names are not replaced if css module does not contain @keyframes
or @value
defintions with the same name.
.foo {
animation-name: fade-in;
}
postcss-icss-keyframes passes result.messages for each defined keyframes
{
plugin: 'postcss-icss-keyframes',
type: 'icss-scoped',
name: string, // local name
value: string // scoped name
}
MIT © Bogdan Chadkin
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
Found 0/10 approved changesets -- 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
69 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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