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

globstar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

globstar

Run programs with glob/globstar support, especially on Windows within npm scripts.

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.6K
decreased by-11.27%
Maintainers
1
Weekly downloads
 
Created
Source

globstar Build Status Coverage Status

Run programs with glob/globstar support, especially on Windows within npm scripts.

Install

[sudo] npm install globstar --global

Usage

> globstar -- echo "**/globstar.js"
node_modules/globstar/globstar.js

Please note the -- and that globstar uses forward slashes.

npm Scripts

$ npm install globstar --save-dev

// e.g. install some linter
$ npm install eslint --save-dev
$ npm install editorconfig-tools --save-dev

Please note that Windows needs double quotes:

  "scripts": {
    "lint": "npm run -s lint-js && npm run -s lint-ec",
    "lint-js": "globstar --node -- eslint \"**/*.js\"",
    "lint-ec": "globstar --node -- editorconfig-tools check \"**/*.js\""
  },

Lint your **/*.js files:

$ npm run lint

Options

$ globstar --help
Run programs with globstar support.

Usage: globstar [OPTION]... -- COMMAND [ARG]...
Note the -- between the globstar OPTIONS and the COMMAND and its arguments

Options:
  --nodir        glob patterns do not match directories, only files
  -i, --ignore   add glob pattern to exclude from matches
  -n, --node     same as `--ignore "node_modules/**"`
  -v, --verbose  explain what is being done
  --version      display version information
  --help         Show help

Report globstar bugs to <https://github.com/schnittstabil/globstar/issues>
globstar home page: <https://github.com/schnittstabil/globstar>

License

Copyright © 2015 Michael Mayer

Licensed under the MIT license.

Keywords

FAQs

Package last updated on 16 Mar 2015

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