lol-skn-parser
A parser for .skn files from League of Legends.
Download
lol-skn-parser is installable via:
Usage example
var SknParser = skn = ; skn;
Available methods
N.B: All methods act as promises if no callback is passed.
parse(path, cb)
It will roughly parse a .skn file from the given path.
Parameters
- path {string} A path to where the file to parse resides.
- [cb] {Function} A callback called with
(error, parsedData)
as arguments.
read(path, cb)
It will read a .skn file from the given path, leaving only the relevant data of the 3D model.
Parameters
- path {string} A path to where the file to read resides.
- [cb] {Function} A callback called with
(error, readData)
as arguments.