Test package json packagelock json File
POST {{baseUrl}}/test/npm?org=ex velit elit
Test for issues in npm files.You can test your npm packages for issues according to their manifest file & optional lockfile using this action. It takes a JSON object containing a target
package.json
and optionally a package-lock.json
.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
org | string | The organization to test the package with. See "The Snyk organization for a request" above. |
Request Body
{}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |