Socket
Socket
Sign inDemoInstall

borschik-tech-istanbul

Package Overview
Dependencies
27
Maintainers
6
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    borschik-tech-istanbul

borschik tech that instruments included files using istanbul code coverage tool


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
6
Install size
4.92 MB
Created
Weekly downloads
 

Readme

Source

borschik-tech-istanbul

Tech module for borschik that instruments js files on include using istanbul.

Usage

First you should install borschik and this module into your project and save it into package.json

npm install borschik borschik-tech-istanbul --save

Then you could run borschik

node_modules/.bin/borschik --tech istanbul --input your.js --output your.min.js

Options

You can specify the instrumentPaths option to control which includes should be instrumented and which should not. If this option is not specified then all includes will be instrumented. You can pass an array of strings there - base paths for the includes to instrument. For example:

node_modules/.bin/borschik --tech istanbul --input your.js --output your.min.js --techOptions "{instrumentPaths: ['./js']}"

In this case the include files within ./js folder tree will be instrumented. Any other file will not. The relative paths resolve relative to the currrent working directory. The absolute paths are allowed too.

License

See MIT LICENSE.

Keywords

FAQs

Last updated on 09 Nov 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc