A Node addon for fetching the index, name, texture paths, material path and wet material path from each shape in a NIF file (Gamebryo/NetImmerse File Format).
Node-addon-api and CMake.js are required for compiling. If they aren't already present, install them:
npm install --save-dev node-addon-api cmake-js
Install this package with:
npm install pappnu/nif-textures-reader
import { nifTexturesReader } from 'nif-textures-reader';
let shapes = nifTexturesReader.read('path/to/file.nif');
console.log(shapes);
MIT for all parts that don't fall under nifly's GPL-3.0.