Codewerk
npm exports check
Takes a published npm package (name plus exact version or dist-tag, fetched only from https://registry.npmjs.org with dist.integrity check, at most 8 MiB compressed) or a .tgz as base64 (e.g. the output of npm pack). The tarball is read in memory by a bounded gzip + ustar/PAX/GNU reader (at most 48 MiB unpacked and 20,000 entries; absolute paths and ".." entries reject the tarball; symlinks and hardlinks are listed, never followed; the first path component, normally package/, is stripped as.
POST https://code.halowerk.com/v1/npm-exports-checkInputs
| Field | Type | Required | Description |
|---|---|---|---|
| package | string | No | npm package name, e.g. "ms" or "@scope/name". Fetched from https://registry.npmjs.org only. |
| version | string | No | Exact version or dist-tag; default "latest". Only with package. |
| tarball_base64 | string | No | Alternatively the package .tgz (npm pack output) as base64, at most about 5 MiB; a data: URL prefix is accepted. |
| level | string | No | Lowest publint message level to report. |
| strict | boolean | No | Report publint warnings as errors. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"package": {
"type": "string",
"minLength": 1,
"maxLength": 214,
"pattern": "^(@[a-z0-9~-][a-z0-9._~-]*/)?[a-z0-9~-][a-z0-9._~-]*$",
"description": "npm package name, e.g. \"ms\" or \"@scope/name\". Fetched from https://registry.npmjs.org only."
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"pattern": "^[A-Za-z0-9][A-Za-z0-9._+-]*$",
"description": "Exact version or dist-tag; default \"latest\". Only with package."
},
"tarball_base64": {
"type": "string",
"minLength": 24,
"maxLength": 7000000,
"description": "Alternatively the package .tgz (npm pack output) as base64, at most about 5 MiB; a data: URL prefix is accepted."
},
"level": {
"type": "string",
"enum": [
"suggestion",
"warning",
"error"
],
"default": "suggestion",
"description": "Lowest publint message level to report."
},
"strict": {
"type": "boolean",
"default": false,
"description": "Report publint warnings as errors."
}
}
}Published input example
{
"package": "ms",
"version": "2.1.3"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea