Obsidian Asset Package File Library
Library and CLI tool to read and write the Obsidian Asset Package file format.
CLI
Get informations about the package
obsidian-pack -d assets.opak
Extract a package
obsidian-pack -xf assets.opak [outputdir/]
Create a package
obsidian-pack -cf assets.opak [files]
obsidian-pack -name org.example.pack.assets -cf assets.opak [files]
NOTE: a file containing the assetIndex
can be passed explicitly with the
-i
options. It can also be listed with other files but must me named
__assetindex__.json
.
Help and other options
obsidian-pack -h
Tests
To lunch all tests, run the following command:
npm test
Changelog
- 1.0.2: Updates dependencies
- 1.0.1: Updates
uuid
dependency to 3.0.0 - 1.0.0: Initial release