Gathering detailed insights and metrics for scss-tokenizer
Gathering detailed insights and metrics for scss-tokenizer
Gathering detailed insights and metrics for scss-tokenizer
Gathering detailed insights and metrics for scss-tokenizer
npm install scss-tokenizer
95.7
Supply Chain
83.4
Quality
75.9
Maintenance
100
Vulnerability
100
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
24 Stars
63 Commits
22 Forks
7 Watching
18 Branches
9 Contributors
Updated on 17 May 2024
Minified
Minified + Gzipped
JavaScript (99.43%)
SCSS (0.57%)
Cumulative downloads
Total Downloads
Last day
-1.1%
251,924
Compared to previous day
Last week
0.5%
1,394,470
Compared to previous week
Last month
-0.4%
6,008,749
Compared to previous month
Last year
-33%
81,178,185
Compared to previous year
2
7
A tokenizer for Sass' SCSS syntax
npm install scss-tokenizer
1var scss = require('scss-tokenizer'); 2scss.tokenize(css);
tokenize
Tokenizes source css
and returns an ordered array of tokens with positional
data.
1var tokenizer = require('scss-tokenizer'); 2var tokens = tokenize.tokenize(css);
Arguments:
css (string|#toString)
: String with input CSS or any object
with toString()
method, like file stream.opts (object) optional
: options:
from
: the path to the source CSS file. You should always set from
,
because it is used in map generation and in syntax error messages.npm test
This project started as a fork of the PostCSS tokenizer.
The latest stable version of the package.
Stable Version
1
7.5/10
Summary
Regular expression denial of service in scss-tokenizer
Affected Versions
<= 0.4.2
Patched Versions
0.4.3
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/19 approved changesets -- score normalized to 1
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
62 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