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 🙏

© 2024 – Pkg Stats / Ryan Hefner

gitmorph-cli

v1.0.4

Published

Advanced Git operations and developer productivity tool

Downloads

314

Readme

GitMorph CLI

GitMorph CLI is an advanced Git operations and developer productivity tool that simplifies Git commands and provides additional features to enhance your development workflow.

Installation

To install GitMorph CLI globally, run:


npm install -g gitmorph-cli

Usage

After installation, you can use the gim command followed by the desired operation. Here's a list of available commands:

Git Operations

  • gim init: Initialize a new Git repository
  • gim clone <url>: Clone a repository
  • gim stage <files>: Stage files
  • gim save "<message>": Commit changes
  • gim upload: Push to remote
  • gim download: Pull from remote
  • gim status: Check status
  • gim history: Check log
  • gim branch <name>: Create a new branch
  • gim switch <branch>: Switch to a different branch
  • gim merge <branch>: Merge branches
  • gim delete <branch>: Delete a branch
  • gim stash: Stash changes
  • gim apply-stash: Apply stashed changes
  • gim rebase <branch>: Rebase current branch

Beyond Git

  • gim create-ignore: Create a .gitignore file with common patterns
  • gim analyze: Analyze repository statistics
  • gim todo: List or add TODO comments in your code
  • gim scaffold <type>: Scaffold a basic project structure (node, react)
  • gim search <query>: Search for a string in all files
  • gim diff: Show changes between commits, commit and working tree, etc
  • gim blame <file>: Show what revision and author last modified each line of a file
  • gim hooks: Manage Git hooks
  • gim lint: Lint your code
  • gim benchmark <command>: Run a simple benchmark test
  • gim dependencies: Analyze project dependencies
  • gim docker: Generate a basic Dockerfile for the project
  • gim test: Run tests
  • gim config: Manage GitMorph configuration

Examples

  1. Initialize a new repository:

gim init
  1. Stage all files and commit:

gim stage .
gim save "Initial commit"
  1. Push changes to remote:

gim upload
  1. Analyze repository statistics:

gim analyze
  1. Scaffold a new Node.js project:

gim scaffold node
  1. Search for a string in all files:

gim search "TODO"
  1. Run a benchmark test:

gim benchmark "npm test" -r 10
  1. Generate a Dockerfile:

gim docker

Configuration

You can configure GitMorph CLI using the gim config command. This allows you to set global or local configurations.

  • Set a global configuration:

gim config -g -s key value
  • Set a local configuration:

gim config -l -s key value
  • View current configuration:

gim config -v

Contributing

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

License

This project is licensed under the MIT License.

Author

blu3ph4ntom

Repository

https://github.com/hemanth0525/gitmorph-cli

Homepage

https://hemanth0525.github.io/gitmorph