99
1010``` bash
1111npm install -g socket
12- ```
13-
14- ``` bash
1512socket --help
16- socket info webtorrent@1.9.1
17- socket report create package.json --view
18- socket report view QXU8PmK7LfH608RAwfIKdbcHgwEd_ZeWJ9QEGv05FJUQ
19- socket wrapper --enable
2013```
2114
2215## Commands
2316
24- ### Popular Commands
25-
2617- ` socket npm [args...] ` and ` socket npx [args...] ` - Wraps ` npm ` and ` npx ` to
2718 integrate Socket and preempt installation of alerted packages using the
2819 builtin resolution of ` npm ` to precisely determine package installations.
@@ -33,38 +24,11 @@ socket wrapper --enable
3324 - ` --pin ` - Pin overrides to their latest version.
3425 - ` --prod ` - Add overrides for only production dependencies.
3526
36- ### Other Commands
37-
3827- ` socket cdxgen [command] ` - Call out to
3928 [ cdxgen] ( https://cyclonedx.github.io/cdxgen/#/?id=getting-started ) . See
4029 [ their documentation] ( https://cyclonedx.github.io/cdxgen/#/CLI?id=getting-help )
4130 for commands.
4231
43- - ` socket info <package@version> ` - Look up issues for a package.
44-
45- - ` socket raw-npm [args...] ` and ` socket raw-npx [args...] ` - Temporarily
46- disable the Socket 'safe-npm' wrapper.
47-
48- - ` socket report create <path(s)-to-folder-or-file> ` - Create a report on
49- [ Socket.dev] ( https://socket.dev/ )
50-
51- Upload the specified ` package.json ` and lock files for JavaScript, Python, and
52- Go dependency manifests. If any folder is specified, the ones found in there
53- recursively are uploaded.
54-
55- Glob patterns such as ` **/package.json ` , ` **/requirements.txt ` ,
56- ` **/pyproject.toml ` , and ` **/go.mod ` is supported.
57-
58- Intuitively ignores files matching your project's ` .gitignore ` , the
59- ` projectIgnorePaths ` in your project's
60- [ ` socket.yml ` ] ( https://docs.socket.dev/docs/socket-yml ) , and a sensible set of
61- [ default ignore patterns] ( https://socket.dev/npm/package/ignore-by-default ) .
62-
63- - ` socket report view <report-id> ` - Look up issues and scores from a report.
64-
65- - ` socket wrapper --enable ` and ` socket wrapper --disable ` - Enable and disable
66- the Socket 'safe-npm' wrapper.
67-
6832## Aliases
6933
7034All aliases support the flags and arguments of the commands they alias.
0 commit comments