![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
typescript-parser
Advanced tools
Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.
This package is a TypeScript and ECMAScript parser. It uses the underlying typescript parser to generate a more or less human readable AST out of .js or .ts files.
After you install the package via:
You can use the parser with:
const parser = new TypescriptParser();
// either:
const parsed = await parser.parseSource(/* typescript source code as string */);
// or a filepath
const parsed = await parser.parseFile('/user/myfile.ts', 'workspace root');
You can also parse multiple files at ones.
To use the declaration index (which is basically a list of symbols for your files) instantiate an index first and throw him some files.
After the parsing is done, you'll get an index with resolved exports and declarations.
Keep in mind, that the index'll only contain exported declarations.
The changelog is generated by semantic release and is located under the release section.
This software is licenced under the MIT licence.
FAQs
Parser for typescript (and javascript) files, that compiles those files and generates a human understandable AST.
The npm package typescript-parser receives a total of 7,814 weekly downloads. As such, typescript-parser popularity was classified as popular.
We found that typescript-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.