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

@fru1tworld/tp

v1.4.0

Published

Teleport to bookmarked directories

Readme

tp

Bookmark directories and teleport anywhere.

Installation

npm install -g @fru1tworld/tp

Add the shell wrapper to your shell config:

# Add to ~/.zshrc or ~/.bashrc
tp() {
    local output
    output=$(tp-cli "$@")
    if [[ "$output" == __TP_CD__:* ]]; then
        cd "${output#__TP_CD__:}"
    else
        echo "$output"
    fi
}

# Tab completion (Zsh)
_tp_completions_zsh() {
    local commands="add del ch gc list help"
    local aliases=$(tp-cli --completions 2>/dev/null)
    case "$words[2]" in
        del|ch) _values 'alias' ${(f)aliases} ;;
        add|gc|list|help) ;;
        *) _values 'command' $commands ${(f)aliases} ;;
    esac
}
compdef _tp_completions_zsh tp

# Tab completion (Bash)
_tp_completions() {
    local cur="${COMP_WORDS[COMP_CWORD]}"
    local prev="${COMP_WORDS[COMP_CWORD-1]}"
    local commands="add del ch gc list help"
    case "$prev" in
        tp) COMPREPLY=($(compgen -W "$commands $(tp-cli --completions 2>/dev/null)" -- "$cur")) ;;
        del|ch) COMPREPLY=($(compgen -W "$(tp-cli --completions 2>/dev/null)" -- "$cur")) ;;
        *) COMPREPLY=() ;;
    esac
}
complete -F _tp_completions tp

Restart your terminal or run source ~/.zshrc.

Nushell

Add to your config.nu (usually ~/.config/nushell/config.nu):

source /path/to/tp.nu
# Or after npm install -g:
# source (npm root -g | str trim | path join "@fru1tworld/tp" "tp.nu")

Fish

Add to your config.fish (usually ~/.config/fish/config.fish):

source /path/to/tp.fish
# Or after npm install -g:
# source (npm root -g)/@fru1tworld/tp/tp.fish

Tab Completion

After setup, press Tab to autocomplete:

tp <TAB>        # Shows: add, del, ch, gc, list, help + all bookmarked aliases
tp del <TAB>    # Shows: bookmarked aliases only
tp ch <TAB>     # Shows: bookmarked aliases only
tp wo<TAB>      # Completes to: tp work

Usage

# Bookmark current directory
tp add work

# Teleport to bookmarked directory
tp work

# List all bookmarks (newest first)
tp list

# Delete bookmark
tp del work

# Rename alias
tp ch work project

# Clean up bookmarks pointing to non-existent directories
tp gc

# Help
tp help

Example

cd ~/projects/my-app
tp add app          # Added: app -> /Users/me/projects/my-app

cd /
tp app              # Instantly teleport to ~/projects/my-app

tp list
# Bookmarks (newest first):
#   app             -> /Users/me/projects/my-app

Data Location

~/.tp/bookmarks.json

Requirements

  • Node.js >= 20
  • macOS / Linux
  • Supported shells: Bash, Zsh, Fish, Nushell

License

MIT