
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@farcaster/js
Advanced tools
A lightweight, fast Typescript interface for Farcaster Hubs. Designed to work with [Hubble](https://github.com/farcasterxyz/hubble/) and any other Hub that implements the [Farcaster protocol](https://github.com/farcasterxyz/protocol).
A lightweight, fast Typescript interface for Farcaster Hubs. Designed to work with Hubble and any other Hub that implements the Farcaster protocol.
Read the documentation, see more examples or get started with the guide below.
Install @farcaster/js with the package manager of your choice
npm install @farcaster/js
yarn add @farcaster/js
pnpm install @farcaster/js
import { Client } from '@farcaster/js';
(async () => {
// Connect to a known hub using its address of the form <ip_address>:<rpc_port>
const client = new Client('127.0.0.1:8080');
// Set the user whose casts we will be fetching
const fid = 2;
const castsResult = await client.getCastsByFid(fid);
if (castsResult.isErr()) {
console.log('Failed: ', castsResult.error);
}
castsResult.map((casts) => casts.map((c) => console.log(`${c.data.body.text}\n`)));
})();
Please see our contributing guidelines before making a pull request.
MIT License
FAQs
A lightweight, fast Typescript interface for Farcaster Hubs. Designed to work with [Hubble](https://github.com/farcasterxyz/hubble/) and any other Hub that implements the [Farcaster protocol](https://github.com/farcasterxyz/protocol).
We found that @farcaster/js demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.