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 🙏

© 2025 – Pkg Stats / Ryan Hefner

thyra

v1.1.1

Published

Simple project folder opener CLI

Readme

thyra

A tiny CLI to bookmark project folders under short names and open them instantly in your favorite editor.

npm version npm downloads Node License: MIT

thyra is designed for developers who hop between multiple projects and want a faster, keyboard-only way to jump straight into a folder—no file explorer, no hassle.


Features

  • Save any directory under a short, memorable name
  • Open saved directories instantly from the terminal
  • Check the CLI version easily (thyra version)
  • Works with any editor (VS Code, WebStorm, Vim, Sublime Text, Emacs, etc.)
  • Stores configuration in your user directory
  • Cross-platform: macOS, Linux, Windows
  • Simple, fast, no fluff

Installation

npm install -g thyra

Requires Node.js v14+.

After install, the thyra command will be available system-wide.


Quick Start

# Save projects
thyra config blog ~/projects/personal-blog
thyra config api /var/www/company/api

# Open instantly
thyra open blog

# See everything you saved
thyra list

# Check thyra version
thyra version

Usage

Save a project folder

thyra config <name> <path>

Examples

thyra config blog ~/projects/personal-blog
thyra config api /var/www/company/api

Open a saved project

thyra open <name>

Example

thyra open blog

This opens the saved path in your configured editor.

List all saved projects

thyra list

Sample output

blog     → /Users/you/projects/personal-blog
api      → /var/www/company/api

Show CLI version

thyra --version

Output

v1.0.5

This shows the currently installed version of thyra.

Help

thyra --help

Editor Configuration

By default, thyra uses VS Code (code) if it’s available.

To use a different editor, set the THYRA_EDITOR environment variable:

# one-off for current shell
THYRA_EDITOR=webstorm thyra open blog

# or set it permanently (bash/zsh)
export THYRA_EDITOR=webstorm

Common editor commands

| Editor | Command | | ------------------ | ------------- | | Visual Studio Code | code | | WebStorm | webstorm | | PhpStorm | pstorm | | Vim / Neovim | vim, nvim | | Sublime Text | subl | | Emacs | emacs |

Tip (Windows, PowerShell):

setx THYRA_EDITOR "webstorm"

How It Works

thyra stores your mappings in a JSON file:

| Platform | Path | | ------------- | ---------------------------- | | macOS / Linux | ~/.config/thyra/thyra.json | | Windows | %APPDATA%\thyra\thyra.json |

Each entry maps a nameabsolute path.

When you run thyra open <name>:

  1. thyra reads the target path from the config
  2. thyra launches your editor with that directory

Example Workflow

# Save projects
thyra config frontend ~/code/myapp/frontend
thyra config backend  ~/code/myapp/backend
thyra config docs     ~/code/myapp/docs

# Hop around instantly
thyra open frontend
thyra open backend
thyra open docs

# View all
thyra list

# Check thyra version
thyra version

Troubleshooting

  • Command not found Ensure global npm binaries are on your PATH. On macOS/Linux, this is often $HOME/.npm-global/bin or the Node version manager’s bin directory.

  • Editor doesn’t open Confirm the editor command works by itself (e.g., run webstorm . or code . in any folder). If it does, set THYRA_EDITOR to that command.

  • Paths with spaces Wrap the path in quotes when configuring: thyra config design "/Users/you/Work/Client A/Design"


Uninstall

npm uninstall -g thyra

Your config file is left in place so you can reinstall later. Remove it manually if you want a clean slate.


Keywords

cli, command-line, open-folder, project-manager, developer-tools, shortcuts, vscode, jetbrains, vim, productivity, workspace, folder-alias

Author


License

MIT License – You are free to use, modify, and distribute this tool.