@joshua.litt/get-ripgrep
A module for downloading ripgrep at runtime a Node project
Last updated 6 months ago by joshua.litt .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @joshua.litt/get-ripgrep 
SYNC missed versions from official npm registry.

This package is a temporary fork of @lvce-editor/ripgrep

ripgrep

A module for using ripgrep in a Node project.

Same as vscode-ripgrep, but fixes the github rate limiting error Downloading ripgrep failed: Error: Request failed: 403 by downloading the files directly instead of also using the github rest api.

Install

$ npm install @lvce-editor/ripgrep

Usage

import { rgPath } = from "@lvce-editor/ripgrep"
import { spawn } from 'node:child_process'

const childProcess = spawn(rgPath, ["abc", "."], {
  stdio: "inherit",
});

Gitpod

Open in Gitpod

Credits

This project is very much based on https://github.com/microsoft/vscode-ripgrep by Microsoft.

Current Tags

  • 0.0.3                                ...           latest (6 months ago)

3 Versions

  • 0.0.3                                ...           6 months ago
  • 0.0.2                                ...           7 months ago
  • 0.0.1                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 5
Dependencies (7)
Dev Dependencies (6)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |