Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
stockfish.wasm
Advanced tools
WebAssembly port of the strong chess engine Stockfish. See it in action on https://lichess.org/analysis.
Uses the latest WebAssembly threading proposal.
javascript.options.shared_memory
in about:config.See stockfish.js for a more portable but single-threaded version.
Feature detection:
typeof WebAssembly === 'object' &&
WebAssembly.validate(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00)) &&
typeof SharedArrayBuffer === 'function' &&
new WebAssembly.Memory({shared: true, initial: 8, maximum: 8}).buffer instanceof SharedArrayBuffer
window.Module
), only one
instance per site.Assuming em++ is available:
npm run-script prepare
Requires stockfish.js
, stockfish.wasm
, stockfish.js.mem
and
pthread-main.js
(total size ~600K) to be served from the same directory.
<script src="stockfish.js"></script>
<script>
Module.addMessageListener(function (line) {
console.log(line);
});
Module.postMessage('uci');
</script>
Thanks to the Stockfish team for sharing the engine under the GPL3.
FAQs
WebAssembly port of the strong chess engine Stockfish
The npm package stockfish.wasm receives a total of 274 weekly downloads. As such, stockfish.wasm popularity was classified as not popular.
We found that stockfish.wasm 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.