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

@johnlindquist/try

v0.1.1

Published

Fresh directories for every vibe - TypeScript/Bun port of tobi/try using Ink

Readme

@johnlindquist/try

Fresh directories for every vibe 🏠

A TypeScript/Bun port of tobi/try using Ink (React for CLIs).

Instantly navigate through experiment directories with fuzzy search, smart sorting, and auto-dating. Perfect for developers with ADHD who create test, test2, new-test, actually-working-test everywhere.

Features

  • 🎯 Smart Fuzzy Search - Not just substring matching
  • Time-Aware - Recently accessed directories float to the top
  • 🎨 Beautiful TUI - Built with Ink (React for terminals)
  • 📁 Organized Chaos - Auto-prefixes with dates: 2025-10-06-your-idea
  • Fast - Powered by Bun runtime

Tech Stack

  • Bun - Fast JavaScript runtime
  • Ink 5.x - React for interactive CLIs
  • React 18.x - Component-based UI
  • TypeScript - Type safety
  • meow - Minimal CLI parser

Installation

# Install globally with npm
npm install -g @johnlindquist/try

# Or use with bunx (no install needed!)
bunx @johnlindquist/try

# Or install with bun
bun install -g @johnlindquist/try

Development

# Clone the repo
git clone https://github.com/johnlindquist/try.git
cd try

# Install dependencies
bun install

# Run in dev mode
bun run dev

# Build executable
bun run build

Usage

Quick Start

# Interactive selector
try

# Search for existing directories
try redis

# Show help
try --help

Shell Integration

Add to your ~/.zshrc or ~/.bashrc:

# Generate the shell function
eval "$(try init)"

Then use it as a function:

try redis          # Jump to or create redis experiment
try                # Browse all experiments

Or use directly with bunx (no install):

bunx @johnlindquist/try          # Interactive selector
bunx @johnlindquist/try redis    # Search and create

Keyboard Shortcuts

  • ↑/↓ or Ctrl-P/N - Navigate
  • Enter - Select or create directory
  • Backspace - Delete character from search
  • ESC or Ctrl-C - Cancel

Configuration

Set TRY_PATH to change where experiments are stored:

export TRY_PATH=~/code/experiments

Default: ~/src/tries

How It Works

Fuzzy Scoring Algorithm

Directories are scored based on:

  1. Match quality - Character proximity and word boundaries
  2. Creation time - Newer directories score higher
  3. Access time - Recently used directories float to the top
  4. Name length - Shorter names preferred for equal matches
  5. Date prefix bonus - YYYY-MM-DD-* format gets priority

Time Display

  • just now - Less than 10 seconds
  • 5m - Minutes ago
  • 3h - Hours ago
  • 2d - Days ago
  • 1mo - Months ago
  • 1y - Years ago

Comparison with Original

| Feature | tobi/try (Ruby) | @johnlindquist/try (TypeScript/Bun) | |---------|-----------------|--------------------------| | Runtime | Ruby | Bun | | UI Framework | Raw ANSI | Ink (React) | | Dependencies | 0 (single file) | Bundled (Ink, React) | | CLI Parser | Built-in | meow | | Type Safety | ❌ | ✅ TypeScript | | Speed | Fast | Faster (Bun) |

Why Bun + Ink?

  • Ink - Battle-tested TUI framework (used by GitHub Copilot CLI and others)
  • React - Component-based UI architecture
  • Bun - Blazing fast runtime with built-in TypeScript support
  • TypeScript - Type safety and better tooling

Inspired By

License

MIT


Built for developers with ADHD by developers with ADHD.

Your experiments deserve a home. 🏠