DEV Community

Cover image for NPM - Fast-repo πŸš€πŸš€
Lucas.T
Lucas.T

Posted on

4 1

NPM - Fast-repo πŸš€πŸš€

Perform quick actions on one or many repositories.


Why ? πŸ™

If you are the type of person who has a lot of ideas, often creates repositories and loves open source ? Then this project is for you.

Fast-repo is a module that literally allows you to create a repository with pre-configured settings, a README and gitignore file depending on the language you use and other features in a few seconds.

Install

npm install -g fast-repo
Enter fullscreen mode Exit fullscreen mode

Note - We recommend using this version.

Or with NPX

npx fast-repo <commands> [options]
Enter fullscreen mode Exit fullscreen mode

Usage πŸ–

fast-repo <commands> [options]
Enter fullscreen mode Exit fullscreen mode

Commands πŸ•Ή

  • config [options] - Create the config to be able to perform actions.
  • create [options] - Create the repository.

Note - Enter fast-repo --help for more informations about commands and options available.

Examples πŸ™‹β€β™‚οΈ

First create config folder with the config --create command

It is important to create before running this command a personal token on your github profile and select the repo and delete_repo scopes. More informations here github token documentation

Github token scopes

Then create some repositories

By entering the create --name=<repo-name> command a series of questions will be asked in particular if you'll like to create a folder linked to the github repository.
By default if no -p, --path flag is present we'll be using the process.cwd() function to determine where to create this folder, enter the -p flag with a new path to clear the old one.

Delete one or more repositories

Delete repo


If you like this project and want to contribute, do not hesitate to clone the repository and put a little like πŸŒŸπŸ˜‡πŸŒŸ

Happy coding ! πŸ¦„βœ¨

Hostinger image

Get n8n VPS hosting 3x cheaper than a cloud solution

Get fast, easy, secure n8n VPS hosting from $4.99/mo at Hostinger. Automate any workflow using a pre-installed n8n application and no-code customization.

Start now

Top comments (0)

SurveyJS custom survey software

JavaScript Form Builder UI Component

Generate dynamic JSON-driven forms directly in your JavaScript app (Angular, React, Vue.js, jQuery) with a fully customizable drag-and-drop form builder. Easily integrate with any backend system and retain full ownership over your data, with no user or form submission limits.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay