unitypackage-extractor
v1.1.0
Published
Extract .unitypackage files from the command line
Downloads
8
Maintainers
Readme
UnityPackage Extractor
A command-line tool to extract .unitypackage files.
Installation
# Install globally to use as a command-line tool
npm install -g unitypackage-extractorUsage
Extract
unitypackage-extractor *.unitypackage [optional/output/path]If output path unspecified, packages will be extracted to current directory
./Assets
View
unitypackage-extractor view *.unitypackageList the contents of the package without extracting it.
Features
- Extracts .unitypackage files
- Preserves the original directory structure
- Handles path security (prevents directory traversal)
- Works cross platform
Development
Build
npm run buildRun
# Using compiled js
node dist/cli.js *.unitypackage# Or using ts-node CLI
ts-node src/cli.ts *.unitypackageCredits
Inspired by Cobertos/unitypackage_extractor which relys on Python and installed via pip.
I built this TypeScript version for lightweight and simplified CLI usage.
