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

tecspacs

v1.0.3

Published

Command line tool for tecspacs

Downloads

2

Readme

tecspacs

A powerful CLI tool for managing and sharing code snippets and packages across your development environments.


🚀 Overview

tecspacs is a developer productivity tool that allows you to:

  • 📚 Store code snippets (TECs) locally with syntax highlighting and organization
  • 📦 Create reusable code packages (PACs) with dependencies and documentation
  • 🌐 Share your snippets and packages with the community
  • 🔍 Search and discover useful code from other developers
  • 🔐 Secure your credentials across different computers

📦 Installation

npm install -g tecspacs


⚡ Quick Start

Log in to your account

tecspacs login

Create a new code snippet

tecspacs create-tec my-snippet --language javascript --content "console.log('Hello world');"

Get a snippet (copies to clipboard automatically)

tecspacs get-tec my-snippet

Create a package from a directory

tecspacs create-pac my-package --source ./my-project-folder

Share your snippet online

tecspacs publish-tec my-snippet

List all your tecs

tecspacs list-tecs


✨ Features

📝 Code Snippets (tecs)

  • Create, retrieve, update, and delete code snippets
  • Organize by language and category
  • Automatic syntax highlighting
  • Usage tracking
  • Clipboard integration
  • Online sharing capabilities

📦 Code Packages (pacs)

  • Bundle multiple files into reusable packages
  • Version control for packages
  • Dependency management
  • Import/export functionality
  • Documentation support

☁️ Online Integration

  • User profiles
  • Cloud storage for snippets and packages
  • Community sharing
  • Discover functionality

📚 Command Reference

🔐 General Commands

tecspacs login               # Authenticate with the TECspacs server
tecspacs logout              # Log out from the current session

📝 tecs Commands

tecspacs create-tec <name> [options]   # Create a new snippet
tecspacs get-tec <name>                # Retrieve a snippet
tecspacs update-tec <name> [options]   # Update an existing snippet
tecspacs delete-tec <name>             # Delete a snippet
tecspacs list-tecs [options]           # List all snippets
tecspacs get-my-tecs-online            # Get your online snippets

📦 pacs Commands

tecspacs create-pac <name> [options]   # Create a new package
tecspacs get-pac <name>                # Retrieve a package
tecspacs update-pac <name> [options]   # Update a package
tecspacs delete-pac <name>             # Delete a package
tecspacs list-pacs [options]           # List all packages
tecspacs get-my-pacs-online            # Get your online packages

☁️ Online Commands

tecspacs publish-tec <name>            # Publish a snippet online
tecspacs publish-pac <name>            # Publish a package online
tecspacs search <query>                # Search for online snippets and packages

⚙️ Configuration

tecspacs stores configuration in the standard user config directory:

  • macOS: ~/Library/Preferences/tecspacs/
  • Linux: ~/.config/tecspacs/
  • Windows: %APPDATA%\tecspacs\

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.


📄 License

MIT License