glslang-validator-prebuilt-predownloaded
v0.0.2
Published
glslangValidator prebuilt executables
Downloads
1,475
Readme
glslang-validator-prebuilt-predownloaded
Same as glslang-validator-prebuilt except the binaries are downloaded and included in the package, so as not to require a whole ton of run-time dependencies
for an install-time action.
Install
$ npm install glslang-validator-prebuilt-predownloaded
Usage
Returns the path of a glslangValidator binary on the local filesystem.
var validator = require('glslang-validator-prebuilt-predownloaded');
console.log(validator.getPath());
// /Users/foo/node_modules/glslang-validator-prebuilt/bin/darwin/glslangValidator
Note: will throw an exception if on an unknown platform/architecture (new ARM64 Macs, which do not have a binary available)
LICENSE
MIT