-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ee42ac
commit 9eb60c5
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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). |