@njzy/ps4-pkg-info
v0.1.0
Published
Get information (paramSfo and icon0) from a PlayStation 4 PKG file
Downloads
11
Readme
ps4-pkg-info
Get information (paramSfo and icon0) from a PlayStation 4 PKG file
Features
- Support generate paramSfo and icon0 data
- Support Nodejs and Browser
- Full type definition
Install
npm i @njzy/ps4-pkg-info
Usage
// nodejs
import { getPs4PkgInfo } from "@njzy/ps4-pkg-info";
// browser
import { getPs4PkgInfo } from "@njzy/ps4-pkg-info/web";
getPs4PkgInfo("nodejs: filePath or browser: fileUrl")
.then(res => {
console.log(res);
})
.catch(err => {
console.error(err);
});
Options
- generateParamSfo - true
- generateIcon0 - true
- generateBase64Icon - false
Thanks
The main implementation principle of this project is derived from the following projects: