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

@lsst/pik

v0.6.5

Published

Extensible CLI toolkit for simplifying developers' everyday tasks like config switching and worktree management

Readme

@lsst/pik

A developer toolkit with extensible plugins for common development tasks.

Installation

npm install -g @lsst/pik

Configuration

Create pik.config.ts in your project root:

export default {
  // Enable select plugin
  select: {
    include: ['src/**/*.ts', '.env'],
  },

  // Enable worktree plugin
  worktree: {
    baseDir: '../',
    copyFiles: ['.env.local'],
    postCreate: 'npm install',
  },
};

Plugins are only available when their configuration key is present.

Built-in Plugins

Select Plugin

Switch config options in source files using @pik markers.

1. Add markers to your files

// @pik:select Environment
// const env = 'DEV';     // @pik:option DEV
const env = 'LOCAL';      // @pik:option LOCAL

2. Run commands

pik select              # Interactive mode
pik select list         # List all selectors
pik select set Environment DEV  # Set directly

Worktree Plugin

Manage git worktrees with automatic setup.

pik worktree              # Interactive mode
pik worktree create       # Create a new worktree
pik worktree list         # List all worktrees
pik worktree remove       # Remove a worktree

External Plugins

Add third-party or custom plugins:

import { myPlugin } from 'pik-plugin-my';

export default {
  plugins: [
    myPlugin({ apiKey: 'xxx' }),
  ],
  select: { include: ['src/**/*.ts'] },
};

Commands

Select

| Command | Alias | Description | |---------|-------|-------------| | pik select | sel | Interactive selection mode | | pik select list | ls | Show all selectors and their state | | pik select set <selector> <option> | - | Set an option directly |

Worktree

| Command | Alias | Description | |---------|-------|-------------| | pik worktree | wt | Interactive worktree menu | | pik worktree create [name] | add | Create a new worktree | | pik worktree list | ls | List all worktrees | | pik worktree remove [path] | rm | Remove a worktree |

Marker Syntax

  • @pik:select <name> - Defines a selector group
  • @pik:option <name> - Marks an option within a selector

Commented lines are inactive, uncommented lines are active.

Supported Comment Styles

| Extensions | Comment Style | |------------|---------------| | .ts, .js, .tsx, .jsx, .mts, .mjs | // | | .html, .htm | // and <!-- --> | | .sh, .bash, .zsh, .py, .yaml, .yml, .env | # |

License

MIT