npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@featurejet/sdk

v0.1.0

Published

Official Node.js and TypeScript SDK for the FeatureJet public developer API.

Readme

FeatureJet Node.js SDK

The official TypeScript-first Node.js SDK for FeatureJet's public developer API.

Install

npm install @featurejet/sdk

Node.js 22 or newer is required.

Quickstart

import { FeatureJetClient } from "@featurejet/sdk"

const featureJet = new FeatureJetClient({
  apiKey: process.env.FEATUREJET_API_KEY ?? "",
})

const { posts, total } = await featureJet.listPosts("feedback", {
  status: "planned",
  sort: "top",
  limit: 25,
})

const created = await featureJet.createPost("feedback", {
  title: "Dark mode",
  body: "Please add a system theme.",
  tags: ["UI"],
})

console.log({ total, firstPost: posts[0], created })

baseUrl defaults to https://api.featurejet.com and timeoutMs defaults to 10,000. Pass a custom fetch implementation when needed for instrumentation or testing.

Methods

| Endpoint | SDK method | | --- | --- | | GET /api/v1/boards | listBoards() | | GET /api/v1/boards/{slug} | getBoard(slug) | | GET /api/v1/boards/{slug}/posts | listPosts(slug, options?) | | POST /api/v1/boards/{slug}/posts | createPost(slug, request) | | GET /api/v1/boards/{slug}/posts/{id} | getPost(slug, postId) | | PATCH /api/v1/boards/{slug}/posts/{id} | updatePost(slug, postId, request) | | DELETE /api/v1/boards/{slug}/posts/{id} | deletePost(slug, postId) | | GET /api/v1/boards/{slug}/posts/{id}/votes | listVotes(slug, postId) | | GET /api/v1/boards/{slug}/posts/{id}/comments | listComments(slug, postId) | | GET /api/v1/boards/{slug}/roadmap | getRoadmap(slug) | | GET /api/v1/boards/{slug}/changelog | getChangelog(slug, options?) | | GET /api/v1/boards/{slug}/ship-stats | getShipStats(slug, options?) | | GET /api/v1/boards/{slug}/analytics | getAnalytics(slug, options?) |

The SDK does not retry requests or automatically fetch additional pages. listPosts and getChangelog default to limit: 100 and offset: 0; the API caps limit at 500.

Authentication and rate limits

Create a live API key in the FeatureJet dashboard and keep it server-side. The SDK sends it as Authorization: Bearer fj_live_... and redacts it from errors. Raw keys are shown only once by FeatureJet.

The public API allows 120 requests per minute per API key. A 429 response throws FeatureJetRateLimitError; its retryAfter property contains integer seconds from the Retry-After header when supplied. Version 0.1 does not retry automatically.

Errors

  • FeatureJetConfigurationError for invalid client options
  • FeatureJetApiError for API, transport, or invalid-JSON failures
  • FeatureJetRateLimitError for HTTP 429 responses
  • FeatureJetTimeoutError when timeoutMs elapses

API response properties preserve FeatureJet's JSON field names, including snake_case names such as vote_count, created_at, and status_breakdown.

Responses are typed at compile time but not validated at runtime (the SDK has zero runtime dependencies): a server response whose shape diverges from the documented contract is returned as received rather than raising an invalid_response error.