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

@vennyx/solipen-sdk

v0.1.0

Published

TR: SoliPen (Penpot 2.17 self-host) RPC API'si icin sifir bagimlilikli TypeScript SDK. EN: Zero-dependency TypeScript SDK for the SoliPen (self-hosted Penpot 2.17) RPC API.

Downloads

143

Readme

@vennyx/solipen-sdk

TR: SoliPen (self-host Penpot 2.17, https://app.solipen.com) RPC API'si için sıfır bağımlılıklı TypeScript SDK. EN: Zero-dependency TypeScript SDK for the SoliPen (self-hosted Penpot 2.17) RPC API.

Türkçe

Kurulum

npm install @vennyx/solipen-sdk

Node >= 20 gerekir (global fetch kullanılır). ESM + CJS + tip tanımları birlikte gelir.

Access token alma

  1. https://app.solipen.com adresinde oturum açın.
  2. Sağ üstteki profil menüsünden Settings → Access tokens sayfasına gidin.
  3. Generate new token ile bir token oluşturun ve güvenli bir yerde saklayın (token yalnızca oluşturulduğu anda gösterilir).

Hızlı başlangıç

import { SoliPenClient } from '@vennyx/solipen-sdk';

const client = new SoliPenClient({
  // baseUri varsayılanı: https://app.solipen.com
  accessToken: process.env.SOLIPEN_ACCESS_TOKEN!,
});

const teams = await client.getTeams();
const projects = await client.getProjects(teams[0]!.id);
const files = await client.getProjectFiles(projects[0]!.id);

// Tipli metodu olmayan komutlar için jenerik rpc() — 145 komut adı autocomplete ile gelir:
const members = await client.rpc('get-team-members', { teamId: teams[0]!.id });

Hatalar SoliPenApiError olarak fırlatılır (status, command, sunucudan gelen type / code / hint alanlarıyla).

Komut listesini yenileme

src/commands.ts OpenAPI şemasından üretilir; instance yükseltmelerinden sonra:

npm run generate   # https://app.solipen.com/api/main/doc/openapi.json okur

English

Install

npm install @vennyx/solipen-sdk

Requires Node >= 20 (uses global fetch). Ships ESM + CJS + type definitions.

Getting an access token

  1. Sign in at https://app.solipen.com.
  2. Open the profile menu (top right) and go to Settings → Access tokens.
  3. Click Generate new token and store it safely (the token is only shown once).

Quick start

import { SoliPenClient } from '@vennyx/solipen-sdk';

const client = new SoliPenClient({ accessToken: process.env.SOLIPEN_ACCESS_TOKEN! });

const teams = await client.getTeams();
const projects = await client.getProjects(teams[0]!.id);

// Generic escape hatch with autocomplete over all 145 RPC commands:
const members = await client.rpc('get-team-members', { teamId: teams[0]!.id });

Failures throw SoliPenApiError carrying status, command and the server's type / code / hint fields. Regenerate the command union from the live OpenAPI schema with npm run generate.