Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

degit

Package Overview
Dependencies
Maintainers
2
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

degit

Straightforward project scaffolding

  • 2.8.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
318K
increased by8.26%
Maintainers
2
Weekly downloads
 
Created

What is degit?

Degit is a straightforward tool for cloning repositories from GitHub, GitLab, and Bitbucket without including the entire git history. It is particularly useful for quickly setting up new projects from templates.

What are degit's main functionalities?

Clone a repository

This feature allows you to clone a repository from GitHub, GitLab, or Bitbucket. The cloned repository will not include the git history, making it a clean copy suitable for starting new projects.

degit('user/repo')

Clone a specific branch

This feature allows you to clone a specific branch of a repository. This is useful when you want to start a project based on a particular branch rather than the default branch.

degit('user/repo#branch-name')

Clone a repository to a specific directory

This feature allows you to specify a destination directory for the cloned repository. This is useful for organizing your projects in a specific directory structure.

degit('user/repo', { dest: 'path/to/destination' })

Other packages similar to degit

Keywords

FAQs

Package last updated on 01 Apr 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc