Gathering detailed insights and metrics for dash-ast
Gathering detailed insights and metrics for dash-ast
Gathering detailed insights and metrics for dash-ast
Gathering detailed insights and metrics for dash-ast
npm install dash-ast
Typescript
Module System
Node Version
NPM Version
99.5
Supply Chain
81.6
Quality
75.2
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
430,940,013
Last Day
84,558
Last Week
1,471,192
Last Month
6,260,111
Last Year
74,045,598
NOASSERTION License
12 Stars
32 Commits
2 Forks
2 Watchers
8 Branches
1 Contributors
Updated on Feb 01, 2025
Minified
Minified + Gzipped
Latest Version
2.0.1
Package Id
dash-ast@2.0.1
Size
3.12 kB
NPM Version
6.14.2
Node Version
13.10.1
Published on
Mar 11, 2020
Cumulative downloads
Total Downloads
Last Day
8.7%
84,558
Compared to previous day
Last Week
-4.6%
1,471,192
Compared to previous week
Last Month
-2.2%
6,260,111
Compared to previous month
Last Year
-22.1%
74,045,598
Compared to previous year
8
walk an AST, quickly
npm install dash-ast
1var dashAst = require('dash-ast') 2var isIdentifier = require('estree-is-identifier') 3 4var deps = [] 5dashAst(ast, function (node, parent) { 6 if (node.type === 'CallExpression' && isIdentifier(node.callee, 'require')) { 7 deps.push(node.arguments[0]) 8 } 9})
dashAst(ast, callback)
Call callback(node, parent)
on each node in ast
. This does a preorder traversal, i.e. callback
receives child nodes after the parent node.
dashAst(ast, { enter, leave })
Call enter(node, parent)
on each node in ast
before traversing its children, and call leave(enter, parent)
on each node after traversing its children. If a node does not have children, enter()
and leave()
are called immediately after each other.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/26 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
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
Score
Last Scanned on 2025-06-23
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