
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
wtd-three-ext
Advanced tools
[](https://github.com/kaisalmen/wtd/blob/main/LICENSE) [](https://github.com/kaisalmen/wtd/actions/workflow
three.js related extensions of wtd-core and additional three.js related utility functions.
There are multiple examples available demonstarting the features described above (listed from simpler to more advanced):
Try out all examples here: https://kaisalmen.github.io/wtd
This shall give you an idea how you can use module worker with WorkerTask (derived from WorkerTask: Hello World):
// let WorkerTask create the worker
const workerTask = new WorkerTask({
endpointName,
endpointId: 1,
endpointConfig: {
$type: 'WorkerConfigParams',
url: new URL('./HelloWorldWorker.js', import.meta.url),
workerType: 'module',
},
verbose: true
});
try {
// cteates and connects the worker callback functions and the WorkerTask
workerTask.connect();
// execute without init and an empty message
const resultExec = await workerTask.executeWorker({
message: WorkerTaskMessage.createEmpty()
});
// once you awaited the resulting WorkerTaskMessage extract the RawPayload
const rawPayload = resultExec.payloads?.[0] as RawPayload;
// log the hello from the HelloWorldWorker
console.log(`Worker said: ${rawPayload.message.raw?.hello}`);
} catch (e) {
// error handling
console.error(e);
}
Further information is found in the main README of the overall repository.
All changes are noted in the overall CHANGELOG.
4.0.1 - 2024-10-01
FAQs
[](https://github.com/kaisalmen/wtd/blob/main/LICENSE) [](https://github.com/kaisalmen/wtd/actions/workflow
The npm package wtd-three-ext receives a total of 346 weekly downloads. As such, wtd-three-ext popularity was classified as not popular.
We found that wtd-three-ext demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.