
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Use Git to fetch all directories and files from any repository. :octocat:
yarn add gitd --dev
npm install gitd --save-dev
gitd
returns a Promise object. When promise is fulfilled the directory
value is passed else when it is rejected
an Error
object is passed.
const gitd = require('gitd')
gitd({
repository: 'https://github.com/joseluisq/gitd.git',
directory: '.tmp',
branch: 'master',
})
.then(dir => console.log(`Files downloaded at "${dir}"`))
.catch(err => console.error(err.message))
Name | Required | Description |
---|---|---|
repository | Required | Git repository URL. |
directory | Required | Empty directory path. (Git could create the directory if not exists) |
branch | Optional | master by default. You can also provide a tag name. |
MIT license
© 2017 José Luis Quintana
FAQs
Use git to fetch all directories and files from any repository.
The npm package gitd receives a total of 4 weekly downloads. As such, gitd popularity was classified as not popular.
We found that gitd 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
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.