New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

java2ast-types

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

java2ast-types

基于[java-parse](https://javaparser.org/)抽取java源代码进行转换;

latest
npmnpm
Version
0.0.9-beta.6
Version published
Maintainers
0
Created
Source

基于java-parse抽取java源代码进行转换;

Require

➜  core git:(br-model) ✗ java --version
java 9.0.4
Java(TM) SE Runtime Environment (build 9.0.4+11)
Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
➜  core git:(br-model) ✗ node -v
v11.15.0
➜  core git:(br-model) ✗

单文件执行

import {fromFile} from 'java2ast';

(async()=>{
 let ast = await fromFile("/xxx/xx.jar")
})()

FAQs

Package last updated on 20 Dec 2024

Did you know?

Socket

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.

Install

Related posts