Read and extract informations of .uasset
files from Unreal Engine in javascript.
Here a Live Demo.
First you need to import uasset-reader.min.js
in your page.
const file = document.getElementById("file-input").files[0];
const buffer = await file.arrayBuffer();
const bytes = new Uint8Array(buffer);
new window.blueprintUE.uasset.ReaderUasset().analyze(bytes);
This method read each byte to extract data from current .uasset
file.
npm test
or docker buildx bake test
to test and coverage
npm run build
or docker buildx bake build
to create dist js file minified
npm run jsdoc
or docker buildx bake jsdoc
to generate documentation
npm run eslint
or docker buildx bake lint
to run eslint
npm run eslint:fix
to run eslint and fix files