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

snipkit

v0.3.6

Published

A starter CLI built with TypeScript and Node.js

Readme

🚀 snipkit

The modern CLI for sharing and fetching code snippets instantly

A powerful command-line tool that lets you share your code templates with the world and instantly fetch code snippets from other developers. Perfect for teams, open-source contributors, and anyone who wants to streamline their development workflow.


✨ What is snipkit?

snipkit transforms how you share and discover code snippets. Instead of copying and pasting code from GitHub gists or documentation, you can:

  • 📤 Share your code: Upload files and folders as organized snippets
  • 📥 Fetch instantly: Download code templates with a single command
  • 🔗 Social coding: Discover snippets from other developers via @username/snippet-name
  • 🛡️ Access control: Choose between public and private snippets
  • 📁 Smart structure: Maintains file/folder structure automatically

🚀 Quick Start

Install & Use Instantly

# Fetch a snippet (no installation required)
snipkit create @username/awesome-component

# Or install globally for faster access
npm install -g snipkit
snipkit create @username/react-hooks

📖 Commands

🔽 Fetch Code Snippets

Download code templates and snippets from other users:

# Fetch an entire project/folder
snipkit create @bharatpanigrahi/react-starter

# Fetch a specific file from a snippet
snipkit create @bharatpanigrahi/utils/helpers.ts

# Interactive destination selection
snipkit create @username/component
# ↳ Choose where to save in your project structure

📤 Share Your Code

Upload your files and folders to share with the community:

# Upload a single file
snipkit upload "My Utility Functions" ./src/utils.ts

# Upload an entire folder
snipkit upload "React Component Library" ./components

# Interactive options for description and privacy settings

📋 Manage Your Snippets

# List all your uploaded snippets
snipkit list

# Logout and clear authentication
snipkit logout

# Refresh configuration from server
snipkit refresh

🛠️ Key Features

| Feature | Description | | ----------------------------- | ---------------------------------------------------------- | | 🔐 Secure Authentication | Browser-based OAuth login with automatic token management | | 📁 Smart File Handling | Preserves folder structure and file relationships | | ⚡ Progress Tracking | Real-time upload/download progress with beautiful spinners | | 🔍 Interactive Selection | Choose exactly where to save files in your project | | 🎯 Content-Type Detection | Automatic MIME type detection for all file types | | 🔒 Privacy Controls | Share publicly or keep snippets private | | 🚀 Zero Config | Works immediately with npx - no setup required | | 📱 Cross-Platform | Works on Windows, macOS, and Linux |


📋 Usage Examples

Real-World Scenarios

Frontend Developer

# Grab a React component template
snipkit create @frontend-masters/modal-component

# Share your custom hooks
snipkit upload "Custom React Hooks" ./src/hooks

Backend Developer

# Get Express.js middleware templates
snipkit create @nodejs-guru/auth-middleware

# Share API route templates
snipkit upload "REST API Routes" ./routes

Full-Stack Team

# Fetch the team's project scaffold
snipkit create @myteam/project-template

# Upload shared utilities
snipkit upload "Team Utils" ./shared/utils

🏗️ How It Works

  1. 🔐 Authentication: Sign in via browser (OAuth) - stored securely
  2. 📤 Upload: Your code is uploaded with metadata (title, description, access level)
  3. 🔗 Share: Others access your code via @yourusername/snippet-name
  4. 📥 Fetch: Anyone can download public snippets instantly
  5. 📁 Smart Placement: Interactive prompts help choose the right destination

🤝 Perfect For

  • 🏢 Development Teams: Share internal templates and boilerplates
  • 👨‍🎓 Educators: Distribute coding examples and assignments
  • 🚀 Open Source: Quick snippet sharing without full repositories
  • 💡 Personal Use: Your own cloud-based code snippet library
  • 🎯 Rapid Prototyping: Instant access to common code patterns

🔧 Advanced Usage

Slug Format

# User's snippet collection
@username/snippet-name

# Specific file in a snippet
@username/snippet-name/path/to/file.js

# Examples
snipkit create @bharatpanigrahi/react-components
snipkit create @bharatpanigrahi/utils/database.ts

Upload Options

  • Title: Human-readable name for your snippet
  • Description: Detailed explanation of what the code does
  • Access Level: Public (everyone) or Private (just you)
  • File Detection: Automatically scans and includes all files

🛡️ Privacy & Security

  • 🔐 Secure Authentication: OAuth-based login with encrypted token storage
  • 🛡️ Private Snippets: Keep sensitive code private to your account
  • 🌐 Public Sharing: Share useful code with the global developer community
  • 🔄 Token Refresh: Automatic token renewal and configuration management

📄 License

MIT License - feel free to use in your projects!



Built with ❤️ by Bharat Panigrahi

Transform your development workflow with instant code sharing