Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
create-gh-repo
Advanced tools
Create and initialize a new GitHub Repository with one command. You need to have a local installation of node and git.
Creates a new public repository on GitHub and initializes your local folder / project
npm init gh-repo cool-project
🙏 git init
a new local project or update existing one.
🔐 Simple Authorization using Personal Access Token.
Cd into any project directory and run
npm init gh-repo $REPO_NAME
This will create a new public repository for you. If you want to create a private repo you can run
npm init gh-repo $REPO_NAME --private
To add a description while creating the repository simply use
npm init gh-repo $REPO_NAME --desc "My Description"
We use a Personal Access Token to authenticate to the GitHub API. Add the Token to your Environment Variables.
Permission: repo .
export GITHUB_PERSONAL_ACCESS_TOKEN="YOUR_TOKEN"
npm install
to install the dependencies.npm run build
.node .
FAQs
Create and initialize a Github Repository with one command.
The npm package create-gh-repo receives a total of 5 weekly downloads. As such, create-gh-repo popularity was classified as not popular.
We found that create-gh-repo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.