deepseek-search
v0.1.0
Published
Search the live web through DeepSeek from the command line or JavaScript
Readme
deepseek-search
Standalone DeepSeek live web search CLI and JavaScript API.
Run with npx
npx deepseek-search "What changed in Node.js this week?"
npx deepseek-search --context "Focus on stable releases" "What changed in Node.js this week?"
npx deepseek-search --verbose "What changed in Node.js this week?"The CLI first asks Pi for the configured DeepSeek credential. If Pi is unavailable or has no DeepSeek credential, it reads DEEPSEEK_API_KEY. Secrets are never accepted as command-line flags.
JavaScript API
import { searchDeepSeekWeb } from "deepseek-search";
const result = await searchDeepSeekWeb({
apiKey: process.env.DEEPSEEK_API_KEY,
query: "What is the latest stable Node.js release?",
signal: AbortSignal.timeout(120_000),
});
console.log(result.answer);Requires Node.js 22.19 or newer.
