
Security News
PodRocket Podcast: Inside the Recent npm Supply Chain Attacks
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
@huolala-tech/nad-cli
Advanced tools
A CLI tool, can generate client code from an API service that has installed and enabled the nad-java-sdk.
yarn add @huolala-tech/nad-cli -D
or
npm install @huolala-tech/nad-cli --save-dev
Usage: nad [Options] <URL>
nad --config <Path>
nad -c <Path>
Example: nad http://localhost:8080
nad -t oc http://localhost:8080
Options:
-t, --target <target> Specify the output file format ("ts", "oc", "raw"), defaults to "ts".
-o, --output <path> Specify the output file path, defaults to stdout.
-c, --config <path> Path to configuration file. If specified, all other arguments will be ignored.
-h, --help Display this help message.
type Target = 'ts' | 'oc' | 'raw';
export interface ConfigFile {
/**
* Specify the output file format.
* @default ts
*/
target?: Target;
/**
* Specify the API definition file URL.
* @required
*/
url: string;
/**
* Specify the output file path.
* @default stdout
*/
output?: string;
/**
* Specify which APIs should be generated.
* @default All
*/
apis?: string[];
/**
* Define some special types to map to other types.
*/
typeMapping?: Record<string, string>;
}
FAQs
The CLI Tools of Nad Project
We found that @huolala-tech/nad-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.