Socket
Socket
Sign inDemoInstall

yuitest-coverage

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

yuitest-coverage

Node.js wrapper for yuitest-coverage java package


Version published
Maintainers
1
Weekly downloads
13,039
decreased by-7.46%

Weekly downloads

Readme

Source

YUI Test Coverage Node.js Module

This module is a wrapper around the YUITest Coverage Java module that you can call from a Node.js process.

Example


var coverage = require('yuitest-coverage');

coverage.cover('<file string to cover>', {
    charset: 'utf8',
    name: 'A name for the file in the output'
},
function(err, data) {
    //err will be populated with the stderr from the java process
    //data will be a string of the covered contents, you write the file out
});

coverage.cover('</path/to/file>', callback); // also works

Keywords

FAQs

Last updated on 08 Nov 2012

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