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

swft

v1.0.13

Published

*Smart Workflow For Teams — Simplify GitHub repository management from your terminal*

Downloads

61

Readme

Git-Swft 🚀

Smart Workflow For Teams — Simplify GitHub repository management from your terminal

npm version npm downloads License

Features ✨

🔑 Authenticate with GitHub using a Personal Access Token

📦 Create new repositories on GitHub instantly

🚀 Create & Push a repository in one command

🚀 Push existing local folders to GitHub easily

⚡ Quick add → commit → push

📥 Clone repositories by name or URL

🗑️ Delete repositories safely

🔒 Supports private/public repos


How to Use

Install the Tool

To install the package globally, run the following command:

npm install -g swft

Verify installation:

swft --version

Commands

| Command | Description | | ------------------------- | ------------------------------------------------------ | | swft auth | Authenticate with GitHub using a personal access token | | swft create <repo> | Create a new GitHub repository (remote only) | | swft create-push <repo> | Create repo locally + push to GitHub | | swft init-push <url> | Push an existing local folder to GitHub | | swft push "msg" | Quick add → commit → push | | swft clone <repo> | Clone by repo name | | swft clone-url <url> | Clone by URL | | swft delete <repo> | Delete repository (⚠ irreversible) | | swft status | Check login status | | swft logout | Logout and remove token |

🚀 Usage Guide

1️⃣ Authenticate with GitHub

swft auth

Steps:

  1. Open: https://github.com/settings/tokens

  2. Click "Generate new token (classic)"

  3. Give it a name (e.g. git-create-cli)

  4. Select scopes:

    repo → full control of private and public repositories

    delete_repo → to allow deleting repositories

    read:user → to read your GitHub profile

  5. Copy the token (⚠️ you won’t see it again).

2️⃣ Create a New Repository (Remote Only)

swft create <repo-name> --private --description "My awesome repo"

Options:

--private → make repository private

--description → add repository description

3️⃣ Create & Push a Repository (Local + Remote)

swft create-push <repo-name> --private --description "My awesome repo"

Options:

--private → make repository private

--description → add repository description

4️⃣ Push Existing Local Folder

swft init-push <repo-url> -b main

Automatically performs:

Initializes Git (if not already)

Adds all files

Commits with "Initial commit"

Creates/switches to branch (main by default)

Sets remote origin

Pushes to GitHub

5️⃣ Quick Add → Commit → Push

swft push "my commit message"

Adds all changes

Commits with message (default: "add")

Pushes to current branch

6️⃣ Clone a Repository

By GitHub username:

swft clone <repo-name>

By direct URL:

swft clone-url <repo-url>

7️⃣ Delete a Repository

swft delete <repo-name>

⚠️ Warning: This is irreversible!

8️⃣ Status & Logout

swft status  # Shows logged-in GitHub username

swft logout # Removes saved token and logs you out

Removes saved token and logs you out.

Why Git-Swft CLI? ⚡

  • Saves time on repetitive Git tasks

  • Handles GitHub authentication seamlessly

  • Automates branch creation and conflict handling

  • Perfect for developers who want fast GitHub workflow

Example Workflow

# Authenticate once
swft auth

# Create and push a new repo
swft create-push my-app --private --description "Cool app repo"

# Push updates
swft push "added login feature"

# Clone another repo
swft clone-url https://github.com/user/another-repo.git