
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
three-prwm-loader
Advanced tools
A PRWM loader for Three.js
Packed Raw WebGL Model is a binary file format for nD geometries specifically designed for JavaScript and WebGL with a strong focus on fast parsing (from 1ms to 0.1ms in Chrome 59 on a MBP Late 2013). More information on this here.
With npm do:
npm install three-prwm-loader --save
var PRWMLoader = require('three-prwm-loader')(THREE);
// instantiate a loader
var loader = new PRWMLoader();
// load a resource
loader.load('./models/mymodel.le.prwm', function onLoad (bufferGeometry) {
var mesh = new THREE.Mesh(bufferGeometry, new THREE.MeshNormalMaterial());
// add mesh to scene, etc.
// scene.add(mesh);
// ...
});
Instantiate a loader for PRWM files.
Arguments
Parse a PRWM file passed as an ArrayBuffer and directly return an instance of THREE.BufferGeometry.
Arguments
Parse a remote PRWM file and return an instance of THREE.BufferGeometry (through a callback).
Arguments
* character will be replaced by le or be depending on the platform endianness. (see the guidelines)Return true if the endianness of the platform is Big Endian.
offset argument in parse().MIT
FAQs
PRWM loader for Three.js
The npm package three-prwm-loader receives a total of 1 weekly downloads. As such, three-prwm-loader popularity was classified as not popular.
We found that three-prwm-loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.