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
@gerhobbelt/ast-types
Esprima-compatible implementation of the Mozilla JS Parser API
@gerhobbelt/test262
(Fork/Clone: NPM scoped package for use with esprima/recast) Test262 tests conformance to the continually maintained draft future ECMAScript standard found at http://tc39.github.io/ecma262/ , together with any Stage 3 or later TC39 proposals.
ECMAScript parsing infrastructure for multipurpose analysis
npm install @gerhobbelt/esprima
Typescript
Module System
Min. Node Version
Node Version
NPM Version
80.2
Supply Chain
87.6
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (66.43%)
JavaScript (33.1%)
HTML (0.47%)
Total Downloads
974,394
Last Day
25
Last Week
1,389
Last Month
4,950
Last Year
72,159
BSD-2-Clause License
1,436 Commits
1 Watchers
26 Branches
1 Contributors
Updated on Jul 19, 2019
Minified
Minified + Gzipped
Latest Version
4.0.1-27
Package Id
@gerhobbelt/esprima@4.0.1-27
Size
53.96 kB
NPM Version
5.6.0
Node Version
8.11.1
Published on
Jul 19, 2019
Cumulative downloads
Total Downloads
Last Day
8.7%
25
Compared to previous day
Last Week
13.4%
1,389
Compared to previous week
Last Month
-17.3%
4,950
Compared to previous month
Last Year
-72%
72,159
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
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- 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
102 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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