# Stockfish.js (lite, single-threaded), served unmodified

- Package: `stockfish` 19.0.1 on npm (https://www.npmjs.com/package/stockfish), flavor "lite single-threaded".
- Files here, byte for byte as published in the package `bin/` folder (SHA-256 below):
  - `stockfish-19-lite-single.js` (Web Worker entry, 28 KB)
  - `stockfish-19-lite-single.wasm` (1.8 MB)
  - `Copying.txt` (GNU GPL v3 text, from the package root)
- This is Stockfish.js 19 by Nathan Rugg (Chess.com, LLC), built from Stockfish 19.
  Nets by Chris Bao (sscg13): https://tests.stockfishchess.org/nns?network_name=nn-61e7af4bb97d
- License: GPL-3.0 (engine code). The files are NOT modified.

## Corresponding Source (GPLv3 section 6)

- Stockfish.js (build glue and packaging), tag v19.0.1: https://github.com/nmrugg/stockfish.js
- Stockfish engine: https://github.com/official-stockfish/Stockfish
- Lichess WASM patches credited by the packager: https://github.com/lichess-org/stockfish-web

## How the site uses it

Loaded only by URL as a standalone Web Worker (`new Worker('/engines/stockfish/stockfish-19-lite-single.js')`),
never imported or bundled into the site JavaScript. The site talks to it only through UCI text
messages (`postMessage`). The worker finds the `.wasm` next to the `.js` by itself.
It does not need `SharedArrayBuffer`, COOP or COEP.

## SHA-256

```
ccb130d7ff29408531c47d859a49f91d59d4f482d05a53eb1a3231a4f624c91a  stockfish-19-lite-single.js
ee4f115bdb2d32cadf96cada104a05b5ec257d7ad6f57582190b49bc71f096de  stockfish-19-lite-single.wasm
0b383d5a63da644f628d99c33976ea6487ed89aaa59f0b3257992deac1171e6b  Copying.txt
```
