
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
node-asset-studio-mod
Advanced tools
Node.js wrapper for AssetStudioMod CLI.
other language:
.NET 9 Runtime required
Ensure the runtime is installed before using this library.
# using pnpm
pnpm install node-asset-studio-mod
# or npm
npm install node-asset-studio-mod
# or yarn
yarn add node-asset-studio-mod
During installation, the CLI binary will be downloaded automatically into
bin/according to your platform.
import { exportAssets } from "node-asset-studio-mod";
const input = "path/to/assets/9.3.0.180";
const output = "path/to/analysing/9.3.0.180";
await exportAssets(input, output);
Default options:
mode: "export"log: truegroup: "container"assetType: "all"cliPath: automatically detected from bin/You can override options by passing a config object:
import { exportAssets } from "node-asset-studio-mod";
await exportAssets(input, output, {
assetType: ["tex2d", "sprite", "textasset"],
overwrite: true,
imageFormat: "png",
logLevel: "info",
});
import { AssetExporter } from "node-asset-studio-mod";
const exporter = new AssetExporter({
cliPath: "E:/myproject/bin/AssetStudioModCLI.exe", // optional
mode: "export",
assetType: ["tex2d", "sprite"],
overwrite: true,
});
await exporter.exportAssets(input, output);
cliPath is optional; the library will automatically detect the binary in bin/.The supported asset types (matching TS AssetTypes) are:
"all", "tex2d", "tex2dArray", "sprite", "textasset", "monobehaviour",
"font", "shader", "movietexture", "audio", "video", "mesh", "animator"
Notes:
"all" exports all types listed above.["tex2d", "sprite"].Supported modes (matching TS ExportMode):
"extract", "export", "exportRaw", "dump", "info", "live2d", "splitObjects", "animator"
FAQs
Node.js adapter for AssetStudioMod CLI
The npm package node-asset-studio-mod receives a total of 1 weekly downloads. As such, node-asset-studio-mod popularity was classified as not popular.
We found that node-asset-studio-mod demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.