Npm
@funsaized/npmv2026.08.26.3
01README
Typed, reproducible npm project operations
02Release Notes
Publish statically extractable model metadata so registry pages show methods and arguments.
03Models
@funsaized/npm/projectv2026.08.26.3project.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| projectDir | string | |
| expectedNpmVersion? | string | |
| expectedNodeVersion? | string | |
| strictToolchain | boolean | |
| configPolicy | literal | |
| lifecycleScripts | enum | |
| allowedScripts | array | |
| environment | record | |
| defaultTimeoutMs | number | |
| requireCleanGit | boolean |
fn inspect(expectedGitHead?: string)
Inspect npm manifests, configuration hashes, Git state, and toolchain
| Argument | Type | Description |
|---|---|---|
| expectedGitHead? | string |
fn ci()
Run reproducible npm ci with lifecycle scripts denied by default
fn run()
Run an existing, explicitly allowed package script without a shell
fn list()
Record raw and normalized npm ls JSON output
fn audit()
Record npm audit JSON before independently applying findings policy
Resources
project(infinite)— Inspected npm project metadata and toolchain identity
invocation(infinite)— Success or durable failure evidence for one operation
dependencyTree(infinite)— Normalized npm dependency tree
auditReport(infinite)— Normalized npm audit execution, findings, and policy result
Files
log(text/plain)— Redacted streaming command log
rawJson(application/json)— Redacted raw npm JSON output
04Previous Versions
2026.08.26.2
Fix registry model metadata indexing by publishing the model at the canonical archive path.
2026.08.26.1
Initial typed npm project operations: inspect, ci, run, list, and audit
05Stats
A
100 / 100
Downloads
16
Archive size
39.6 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
Repository
https://github.com/funsaized/swamp-npm06Platforms
07Labels