Gathering detailed insights and metrics for @gerhobbelt/esprima
Gathering detailed insights and metrics for @gerhobbelt/esprima
Gathering detailed insights and metrics for @gerhobbelt/esprima
Gathering detailed insights and metrics for @gerhobbelt/esprima
npm install @gerhobbelt/esprima
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
1,436 Commits
1 Watching
24 Branches
1 Contributors
Updated on 19 Jul 2019
TypeScript (66.43%)
JavaScript (33.1%)
HTML (0.47%)
Cumulative downloads
Total Downloads
Last day
5.8%
272
Compared to previous day
Last week
2.5%
1,496
Compared to previous week
Last month
-7.6%
6,139
Compared to previous month
Last year
-69.9%
82,559
Compared to previous year
30
NOTE
This fork/clone of
esprima
tracks the original closely, but adds support for parsing JISON action code blocks, which MAY contain JISON-specific identifiers in the JavaScript code, e.g.$1
,@1
,#1
and#ID#
.
Esprima (esprima.org, BSD license) is a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript). Esprima is created and maintained by Ariya Hidayat, with the help of many contributors.
Esprima can be used to perform lexical analysis (tokenization) or syntactic analysis (parsing) of a JavaScript program.
A simple example on Node.js REPL:
1> var esprima = require('esprima'); 2> var program = 'const answer = 42'; 3 4> esprima.tokenize(program); 5[ { type: 'Keyword', value: 'const' }, 6 { type: 'Identifier', value: 'answer' }, 7 { type: 'Punctuator', value: '=' }, 8 { type: 'Numeric', value: '42' } ] 9 10> esprima.parse(program); 11{ type: 'Program', 12 body: 13 [ { type: 'VariableDeclaration', 14 declarations: [Object], 15 kind: 'const' } ], 16 sourceType: 'script' }
For more information, please read the complete documentation.
No vulnerabilities found.
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
Found 0/30 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
no SAST tool detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Reason
96 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