New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details → →
Socket
Book a DemoSign in
Socket

nreplproxy

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nreplproxy

A simple proxy for debugging nREPL connections. It sits between your nREPL client and server, logging all messages exchanged.

latest
npmnpm
Version
0.0.3
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

nREPL Proxy

A simple proxy for debugging nREPL connections. It sits between your nREPL client and server, logging all messages exchanged.

Installation

With npm

npm i nreplproxy
npx nreplproxy

Single file executable

Download the cross-platform executable which depends only on Node.js and doesn't require installing deps.

wget https://github.com/chr15m/nreplproxy/releases/latest/download/nreplproxy
chmod 755 nreplproxy
./nreplproxy

Usage

Run nreplproxy in your project directory. It finds the .nrepl-port file, connects to the nREPL server, and then updates .nrepl-port so your client connects to the proxy. All nREPL messages will be logged to standard output. The original .nrepl-port file is restored on exit.

Example log output

nREPL proxy started on port 46289
Proxying to nREPL server on port 1339
Updating .nrepl-port from 1339 to 46289
Client connected to proxy.

--- Client -> Server ---
{
  id: '5bbe1395-b048-47e2-24e6-678e9c14b84d',
  op: 'describe',
  'verbose?': 1
}

--- Server -> Client ---
{
  aux: { 'current-ns': 'shadow.user' },
  id: '5bbe1395-b048-47e2-24e6-678e9c14b84d',
  ops: {
    'add-middleware': {
      doc: 'Adding some middleware',
      optional: [Object],
      requires: [Object],
      returns: [Object]
    },
    clone: {
      doc: 'Clones the current session, returning the ID of the newly-created session.',
      optional: [Object],
      requires: {},
      returns: [Object]
    }
  },
...

--- Client -> Server ---
{
  code: '(inc 1)',
  column: 1,
  file: 'shadrepl/core.cljs',
  id: 'a38d7555-f5e4-41b4-a740-8f288b422e7b',
  line: 6,
  'nrepl.middleware.print/stream?': 1,
  ns: 'shadrepl.core',
  op: 'eval',
  session: 'a14147e2-599d-4dc8-801f-a76103a93947'
}

--- Server -> Client ---
{
  id: 'a38d7555-f5e4-41b4-a740-8f288b422e7b',
  session: 'a14147e2-599d-4dc8-801f-a76103a93947',
  value: '2'
}

FAQs

Package last updated on 16 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts