Skip to content

Commit

Permalink
Merge pull request #64 from amilajack/patch-1
Browse files Browse the repository at this point in the history
add syntax highlighting to readme
  • Loading branch information
LinusU committed Feb 12, 2019
2 parents bd69f78 + 2849c53 commit 8f8cb16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -44,7 +44,7 @@ Have your package validate via a [gulp](http://gulpjs.com/) plugin - see [gulp-n

## API

```
```js
PJV.validate(packageData[[, spec], options])
```

Expand All @@ -53,7 +53,7 @@ PJV.validate(packageData[[, spec], options])

`options` is an object with the following available:

```
```js
{
warnings: true, // show warnings
recommendations: true // show recommendations
Expand All @@ -62,7 +62,7 @@ PJV.validate(packageData[[, spec], options])

Example:

```
```js
var PJV=require('package-json-validator').PJV;
PJV.validate(data, spec, options)
```
Expand Down

0 comments on commit 8f8cb16

Please sign in to comment.