Skip to content

Commit

Permalink
fix: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lirantal committed Apr 7, 2020
1 parent 9e2e787 commit ac31b5d
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,21 @@ npm install --save js-vulns-detector

# Usage

```js
// @TODO
const {} = require('js-vulns-detector')
## One-off invocation

To generate a bundle file:

```sh
npx js-vulns-detector --global --outfile bundle.js
```

# Example
## As a library

<!-- TODO -->
Access the bundle directly as an npm module:

```js
import 'js-vulns-detector/dist/bundle-global.js'
```

# Contributing

Expand Down

0 comments on commit ac31b5d

Please sign in to comment.