{"library":"metaphor-node","type":"library","category":null,"description":"The `metaphor-node` package serves as the official JavaScript/TypeScript SDK for programmatically interacting with the Metaphor search API. It provides a robust client for accessing Metaphor's core functionalities, which include executing targeted searches, identifying content similar to a given URL, and retrieving the full textual contents of documents using their unique identifiers. Designed primarily for Node.js environments, the SDK is fully typed with TypeScript, enhancing developer experience and compile-time safety. The package is actively maintained within its `1.x.x` series, with recent updates such as `v1.5.13` reflecting ongoing development and feature enhancements. Internally, it utilizes `cross-fetch` to ensure broad compatibility for HTTP requests across different JavaScript runtimes, abstracting the complexities of underlying fetch implementations. This SDK is crucial for developers looking to integrate advanced, intelligent search and content discovery capabilities into their server-side applications with a straightforward and idiomatic API.","language":"javascript","status":"active","version":"1.0.30","tags":["javascript","metaphor","api","search","sdk","http","typescript"],"install":[{"cmd":"npm install metaphor-node","imports":["import Metaphor from 'metaphor-node'","import { type SearchOptions } from 'metaphor-node'","import { type SearchResponse } from 'metaphor-node'"]},{"cmd":"yarn add metaphor-node","imports":[]},{"cmd":"pnpm add metaphor-node","imports":[]}],"homepage":"https://metaphor.systems","github":"https://github.com/metaphorsystems/metaphor-node","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/metaphor-node","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/metaphor-node/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}