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
Typescript
Module System
Node Version
NPM Version
98.8
Supply Chain
83.4
Quality
75.9
Maintenance
100
Vulnerability
100
License
JavaScript (99.43%)
SCSS (0.57%)
Total Downloads
1,111,707,282
Last Day
223,997
Last Week
1,152,170
Last Month
4,891,691
Last Year
70,028,253
MIT License
24 Stars
63 Commits
22 Forks
6 Watchers
18 Branches
9 Contributors
Updated on May 17, 2024
Minified
Minified + Gzipped
Latest Version
0.4.3
Package Id
scss-tokenizer@0.4.3
Unpacked Size
39.08 kB
Size
5.95 kB
File Count
11
NPM Version
8.1.2
Node Version
16.13.1
Cumulative downloads
Total Downloads
Last Day
3.2%
223,997
Compared to previous day
Last Week
14.7%
1,152,170
Compared to previous week
Last Month
-0.8%
4,891,691
Compared to previous month
Last Year
-29.3%
70,028,253
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.
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
63 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