{"library":"ripgrep","type":"library","category":null,"description":"This `ripgrep` npm package provides the powerful command-line utility `ripgrep` in a fully cross-platform, dependency-free manner by compiling it to WebAssembly (WASM). As of version 0.3.1, it offers programmatic access to `ripgrep`'s core functionality, suitable for Node.js, Bun, Deno, and even bundler-friendly browser environments without requiring native binaries or post-install scripts. The package embeds the WASM module as a z85+brotli encoded string and leverages WASI for execution, defaulting to Node.js's built-in `node:wasi` for optimal performance when available. Its key differentiator is providing `ripgrep`'s capabilities entirely within the JavaScript ecosystem, making it a drop-in programmatic replacement for native `ripgrep` spawns, with the WASM module dynamically cached to the OS temp directory for subsequent fast access.","language":"javascript","status":"active","version":"0.3.1","tags":["javascript","typescript"],"install":[{"cmd":"npm install ripgrep","imports":["import { ripgrep } from 'ripgrep';","import { rgPath } from 'ripgrep';"]},{"cmd":"yarn add ripgrep","imports":[]},{"cmd":"pnpm add ripgrep","imports":[]}],"homepage":null,"github":"https://github.com/pithings/ripgrep-node","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/ripgrep","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/ripgrep/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}