From a8846496959daba6fd4400711a16934ba72eb484 Mon Sep 17 00:00:00 2001 From: tobilg Date: Mon, 11 May 2020 09:43:18 +0200 Subject: [PATCH] Fix usage example --- README.md | 8 +++++++- package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 48bf7af..707d122 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,16 @@ Parse [clover](https://www.atlassian.com/software/clover) report files, and return a JSON representation in a [lcov-parse](https://github.com/davglass/lcov-parse) compatible manner. +## Installation + +```bash +$ npm i @cvrg-report/clover-json --save +``` + ## Usage ```javascript -var clover = require( "clover-json" ); +var clover = require("@cvrg-report/clover-json"); // Parse by file path clover.parseFile("filepath.xml") diff --git a/package.json b/package.json index 1d7044d..6bcf684 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cvrg-report/clover-json", - "version": "0.3.1", + "version": "0.3.2", "description": "Parse clover XML coverage reports to JSON, using the same format as lcov-parse", "keywords": [ "coverage",