New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

node-git-directories

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

node-git-directories

Get all the directories that are git repositories - node module

latest
Source
npmnpm
Version
6.0.0
Version published
Maintainers
2
Created
Source

node-git-directories

Get only the directories that are git repositories - node module and executable

Usage

as a library


const gitDirectories = require('node-git-directories')

gitDirectories('../')
// array of git repos

as a terminal util


npm i -g node-git-directories

gitDirs | sed '1d' | awk -F'/' '{print $2}' # default location: ../
# list of git repos, one per line.

gitDirs /home/you/code | sed '1d' | awk -F'/' '{print $2}' # location: /home/you/code/
# list of git repos, one per line.

License

MIT © 2018 Git Faf

Keywords

git directories

FAQs

Package last updated on 28 May 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