Nisper 0.8.3 is an RPC library built on WebSocket and the nisp Lisp-like language. It enables bidirectional, script-based remote procedure calls between Node.js and browser clients. Key differentiators: composable function calls via nisp expressions, built-in Promise support, binary data via custom encoders (e.g., msgpack-lite), auto-reconnect, and same API for all directions. Development appears inactive since 2020; current version is stable but unmaintained.
npm install nisperNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Sets up a bidirectional RPC server and client using nisp expressions for composable remote calls.
Consider forking or migrating to alternative RPC libraries like Socket.IO with JSON-RPC.
Use `import nisper from 'nisper'` in an ESM context or transpile.
Use `import { call } from 'nisper/lib/call'`.Ensure compatible versions of `nisp` and `nisper` are installed. Pin both in package.json.
Provide encoder/decoder like `msgpack-lite` for binary data.
Run `npm install nisper` and ensure project uses ESM (type: module in package.json) or use dynamic import.
Use `import nisper from 'nisper'` or `const nisper = require('nisper').default` if using CommonJS.Use `import { call } from 'nisper/lib/call'`.