Offload functions to worker threads with shared memory primitives for Node.js.

chore: add type checking setup and gitignore master

Add typescript and @types/node as devDependencies, fix tsconfig for node types and Symbol.dispose, clean up worker-pool.ts type issue. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>