Skip to content

Commit

Permalink
docs: added npm loader to README
Browse files Browse the repository at this point in the history
  • Loading branch information
evilsocket committed Jan 18, 2025
1 parent 0ee42ac commit 9eb60c5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,20 @@ dyana trace --loader js --script /path/to/file.js
dyana trace --loader js --script /path/to/file.js --allow-network
```

### npm

This loader will install a Javascript package via NPM.

```bash
dyana trace --loader npm --package express

# you can install a specific version of a package:
dyana trace --loader npm --package [email protected]

# you can also pass extra dependencies to be installed:
dyana trace --loader npm --package express --extra-dependencies "axios"
```

## License

Dyana is released under the [MIT license](LICENSE). Tracee is released under the [Apache 2.0 license](third_party_licenses/APACHE2.md).

0 comments on commit 9eb60c5

Please sign in to comment.