vscode-ripgrep-with-github-api-error-fix
v2.10.0
Published
A module for using ripgrep in a Node project
Downloads
9
Readme
vscode-ripgrep-with-github-api-error-fix
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 vscode-ripgrep-with-github-api-error-fix
Usage
import { rgPath } = from "vscode-ripgrep-with-github-api-error-fix"
import { spawn } from 'child_process'
const childProcess = spawn(rgPath, ["abc", "."], {
stdio: "inherit",
});