{"library":"threadedclass","type":"library","category":null,"description":"Fork a class instance into a separate thread (Node.js Worker Threads or Web Workers) while preserving TypeScript typings. v1.4.0 is stable with a mature API. Key differentiators: one-liner thread instantiation, automatic method promisification, optional auto-restart on crash, and thread pooling via ThreadedClassManager. Actively maintained with frequent releases, supports Node ≥8 and modern browsers.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript","thread","async","fork","asynchronous","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install threadedclass","imports":["import { threadedClass } from 'threadedclass'","import { ThreadedClassManager } from 'threadedclass'","import type { ThreadedClassConfig } from 'threadedclass'"]},{"cmd":"yarn add threadedclass","imports":[]},{"cmd":"pnpm add threadedclass","imports":[]}],"homepage":null,"github":"https://github.com/nytamin/threadedClass","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/threadedclass","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}