Sign In

@paretools/shared

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paretools/shared

Shared utilities for Pare MCP servers

Source
npmnpm
Version
0.5.0
Version published
Weekly downloads
1.4K
23.76%
Maintainers
1
Weekly downloads
 
Created
Source

@paretools/shared

npm License: MIT

Shared utilities for Pare MCP servers.

Exports

  • run(command, args, options) — Executes a CLI command via execFile (no shell injection) and returns { stdout, stderr, exitCode }
  • dualOutput(data, formatter) — Returns both structuredContent (typed JSON) and content (human-readable text) for MCP tool responses
  • stripAnsi(text) — Removes ANSI escape codes from CLI output

Usage

This package is used internally by all @paretools/* server packages. You generally don't need to install it directly unless you're building a custom Pare server.

import { run, dualOutput, stripAnsi } from "@paretools/shared";

License

MIT

Keywords

mcp

FAQs

Package last updated on 10 Feb 2026

Related posts