New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

argg

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argg

Three lines of code to `require` all the files provided as command line arguments. A poor man's test runner that works with istanbul.

  • 0.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
increased by33.33%
Maintainers
1
Weekly downloads
 
Created
Source

argg

A poor man's test runner for tap, tape, or similar, that also can be used with istanbul. It's just three lines of code to require all globs or pathnames provided as command line arguments.

usage

Install like:

npm i argg  --save-dev

…then in your package.json add:

"scripts": {
    "test": "node node_modules/argg tests/*.js",
    "cover": "istanbul cover node_modules/argg tests/*.js"
},

…so from the command line, you do:

npm test
npm run cover

Sure, it barely deserves to be a module, but I got tired of copy/paste. Yes, tap has a nice test runner but I'd still need something like this for tape and/or istanbul.

license

MIT licensed by permission from my employer. See LICENSE.txt.

FAQs

Package last updated on 08 Mar 2013

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