Skip to content

Install

How to put swf2es on a page, compile ahead of time, run a SWF in node or on the desktop, and give it sockets and files. The README has the short version; architecture.md how it all works.

Terminal window
npm install @swf2es/web # the element, for a page; it brings the rest
npm install -g @swf2es/cli # the swf2es command, for node
npx @swf2es/desktop # the desktop app, in Electron

The packages are ES modules with no dependencies outside @swf2es/*, but for the desktop app’s Electron. Each package’s README says what it is for.