Gathering detailed insights and metrics for stylehacks-nightly
Gathering detailed insights and metrics for stylehacks-nightly
Gathering detailed insights and metrics for stylehacks-nightly
Gathering detailed insights and metrics for stylehacks-nightly
Un-Official nightly release for cssnano under name `cssnano-nightly`
npm install stylehacks-nightly
Typescript
Module System
Min. Node Version
Node Version
NPM Version
67.2
Supply Chain
97.9
Quality
75.4
Maintenance
50
Vulnerability
100
License
JavaScript (96.55%)
CSS (3.05%)
Shell (0.4%)
Total Downloads
3,183
Last Day
3
Last Week
18
Last Month
73
Last Year
551
1 Stars
65 Commits
1 Watchers
16 Branches
1 Contributors
Updated on Mar 04, 2023
Minified
Minified + Gzipped
Latest Version
0.8.4
Package Id
stylehacks-nightly@0.8.4
Unpacked Size
23.35 kB
Size
5.51 kB
File Count
24
NPM Version
6.14.6
Node Version
10.22.0
Cumulative downloads
Total Downloads
Last Day
200%
3
Compared to previous day
Last Week
125%
18
Compared to previous week
Last Month
87.2%
73
Compared to previous month
Last Year
50.5%
551
Compared to previous year
3
In this, the package is named as stylehacks-nightly
In from this docs, you need to replace every
stylehacks --> stylehacks-nightly
Original Docs below
Detect/remove browser hacks from CSS files.
With npm do:
npm install stylehacks --save
In its default mode, stylehacks will remove hacks from your CSS file, based on the browsers that you wish to support.
1h1 { 2 _color: white; 3 color: rgba(255, 255, 255, 0.5); 4}
1h1 { 2 color: rgba(255, 255, 255, 0.5); 3}
stylehacks.detect(node)
Type: function
Returns: boolean
This method will take any PostCSS node, run applicable plugins depending on
its type, then will return a boolean depending on whether it found any of
the supported hacks. For example, if the decl
node found below is passed to
the detect
function, it will return true
. But if the rule
node is passed,
it will return false
instead.
1h1 { _color: red }
stylehacks.process(css, [options]).then(function(result) {})
Type: boolean
Default: false
If lint mode is enabled, stylehacks will not remove hacks from the CSS; instead,
it will add warnings to Result#messages
.
postcss([ stylehacks(opts) ])
stylehacks can also be consumed as a PostCSS plugin. See the documentation for examples for your environment.
stylehacks works well with your existing PostCSS setup:
Pull requests are welcome. If you add functionality, then please add unit tests to cover it.
MIT © Ben Briggs
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
67 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-05-05
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