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

gitro

v1.6.2

Published

Run common JS development commands fast and easily!

Downloads

2

Readme

******* Gitro NPM package *******

> Version 1.6.1

Gitro allows you to run the multiple Git, TailwindCSS, and Node/NPM CLI commands with one command. Gitro is TOTALLY free, open-source, easy to MODIFY & install.

******* INSTALLATION *******

Install Gitro with the npm command below:

> npm i gitro

OR

> npm i gitro --save

******* USAGE *******

Run the following command to connect to your remote git repository (if you haven't already):

> git remote add origin <repo_url>

This repo URL usually looks like "https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git"

NOTE: You might be prompted to enter your Username and your Github token (Normal passwords are not supported anymore by Git). To learn how to generate Github access tokens, go to https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token

Input file: /src/style.css | Output file: /public/style.css
You can change this by editing the gitro-tailwind.js file in the Gitro package

******* COMMAND SHEET *******

-> To list all available commands

> ghelp

-> To install Express, Mongoose, Concurrently, Nodemon & Body-parser

> gexpress

-> To install ReactJS, ReactDOM and React Router (v5)

> greact

-> To install MERN stack dependencies (ReactJS, ExpressJS and their dependencies)

> gmern

-> To install and initialize TailwindCSS, RUN THIS IN THE ROOT FOLDER OF YOUR PROJECT AS IT WILL CREATE FOLDERS AND FILES

> gtail

–> For TailwindCSS compilation ONLY

> gbuild
> gitro-build

Either of these will compile your tailwind css into /public/style.css

–> For "git add" and "git commit" commands

> gcom
> gitro-commit

Either of these will stage and commit your files (Custom commit messages are not available yet).

–> For "git push" command

> gpush
> gitro-push

Either of these will push your staged/committed files

–> For "git add", "git commit" and "git push" commands

> gcap
> gitro-commit-push

Either of these commands will run the git "add", "commit" and "push" commands at once

–> To compile TailwindCSS and upload files to remote repo all at once

> gitro

This is the only the first version which I use personally too, you can edit these scripts yourself if you can. For any help, reach me @_realao on Twitter. And I'll keep updating this package too. Happy coding! The public repo is at https://github.com/aosasona/gitro

CHANGELOG

1.6.0 - TailwindCSS now exports to the /public/ folder to make it easier to link in your project's HTML, this update mainly made TailwindCSS changes, refer to the updated readme/documentation above.

1.5.0 - Added ExpressJS development dependencies installation command, added React itself to the "greact" command in case you don't have React installed already for that project, added a MERN dependencies installation command.

1.4.1 - Added Tailwindcss install and init commands, added 'git pull' to the 'gpush' command, added a 'ghelp' command to list available commands, added ReactJS one-command dependencies installer (install react-router-dom@5 which uses 'switch' instead of 'routes'), You do not need to run gbuild everytime you use a TailwindCSS class anymore.

1.3.1 - Changed commit message

1.3.0 - Changed "push" command to include upstream