{"_id":"@diaryx/fig-wasi","_rev":"11-cf5d4c422c2bc24130a4b2f82f7c66fc","name":"@diaryx/fig-wasi","dist-tags":{"latest":"5.2.0"},"versions":{"3.5.0":{"name":"@diaryx/fig-wasi","version":"3.5.0","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@3.5.0","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"8824beaff6d9fb2713b417bbec4c68e99dc61a7d","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-3.5.0.tgz","fileCount":6,"integrity":"sha512-A/xDf1xmCQJzdGmXOFjbgdVdu0ehL6IAxE8s70GBLgYj7q+IH3+4DH+cQ5LoCHVV/5bSgl30IxHixGcEDVbeMw==","signatures":[{"sig":"MEUCIQDBr5Ky0OKniZhsRzcS5lDTAgb+tpj0u0gPDPgsDod5CwIgRGu/1qd6JK6Yq+R2ywZzUbOGYbjKweCGbm1BBP7NmP4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":827222},"type":"module","engines":{"node":">=20"},"gitHead":"5a6fab744494c9c366606a61b06cc9b931556efa","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"adammharris","email":"amh421@icloud.com"},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.12.1","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML — while preserving comments) as an npx-able command, running the real fig CLI's WASI build under Node's built-in (experimental) WASI support. No install, no per-platform binary, ","directories":{},"sideEffects":false,"_nodeVersion":"24.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_3.5.0_1784495440548_0.7386802142537534","host":"s3://npm-registry-packages-npm-production"}},"3.5.1":{"name":"@diaryx/fig-wasi","version":"3.5.1","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@3.5.1","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"8128640f72f739d5fc17f12d07c4d6c420b94267","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-3.5.1.tgz","fileCount":6,"integrity":"sha512-/bn3CtYqw7B8uByYafljsv5/tFjBqV1t15JLtRmfEeR24oYObtLN8gs2941ORPUTF9Y0B8uqTnuLKFRGp/hWXg==","signatures":[{"sig":"MEUCIAnwe0b3zXA8cCPGULoMtLAuu8jNbLyyU0UBxbwYXzmoAiEA9Cw++4AH0DsVXwgs1qelYWn6oT/ORHLhYxY/sbw9sYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@3.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":827222},"type":"module","engines":{"node":">=20"},"gitHead":"940b11b1cb50b4352d07ae13420934dd12bf4709","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.16.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML — while preserving comments) as an npx-able command, running the real fig CLI's WASI build under Node's built-in (experimental) WASI support. No install, no per-platform binary, ","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_3.5.1_1784500743867_0.9445508296208451","host":"s3://npm-registry-packages-npm-production"}},"3.5.2":{"name":"@diaryx/fig-wasi","version":"3.5.2","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@3.5.2","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"739057a369c65ddab44d11712dae52e627211e59","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-3.5.2.tgz","fileCount":6,"integrity":"sha512-VgY/UtCiC9ZrEB701cyTQR8hJisw9GmQQ1BrfsnlnkV6XRTiINJvDI4ZDVWS+M6mKckhh149UvGX5Zu2rbtQ1A==","signatures":[{"sig":"MEUCIQCB7AnozU3+OlbudLV8WfbNgl5TIwhh+PENdEXAO9GG9wIgerZXugI52AN7w5CMYfyxhX+DWsCTZBoClDEOKCay9yY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@3.5.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":827222},"type":"module","engines":{"node":">=20"},"gitHead":"6bd40445d37424318e538487c703baad9c8d6719","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.16.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML — while preserving comments) as an npx-able command, running the real fig CLI's WASI build under Node's built-in (experimental) WASI support. No install, no per-platform binary, ","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_3.5.2_1784514903717_0.09060285394709422","host":"s3://npm-registry-packages-npm-production"}},"3.6.0":{"name":"@diaryx/fig-wasi","version":"3.6.0","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@3.6.0","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"ba40b5a883d6ae9f62e675b77c08152370b6dfae","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-3.6.0.tgz","fileCount":6,"integrity":"sha512-QhpmCiVYFoDOa5RqJ5W3/Ub5yy7g4k8q6ComPfJJomCJc9RghRx8bNICNEe2LO67JmaHbZhLzTgohlbcsfMf/w==","signatures":[{"sig":"MEYCIQDluSiEEq1vlAE7reyYi4/R6jUL9jUXXHVapIlR3TyUwAIhAJpv43ErbucXA5l25iDh91qyw2MAHXeYf6Ugc2qPezCF","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":895026},"type":"module","engines":{"node":">=20"},"gitHead":"326045e2b4fd78acb40a25cdc62d2dfdc3982085","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"adammharris","email":"amh421@icloud.com"},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML — while preserving comments) as an npx-able command, running the real fig CLI's WASI build under Node's built-in (experimental) WASI support. No install, no per-platform binary, ","directories":{},"sideEffects":false,"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_3.6.0_1787598370728_0.4116176163436642","host":"s3://npm-registry-packages-npm-production"}},"4.0.0":{"name":"@diaryx/fig-wasi","version":"4.0.0","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@4.0.0","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"d38067c33592fea9c8655b3d3d750084274ee8c7","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-4.0.0.tgz","fileCount":6,"integrity":"sha512-9vUfIgXK9feeX7yBeHW+cAGDcxxleBX566pne6jgvALOSFTMvaehHGf2tpJvCHjKtFmup9mnCeEHeZYIJPCcgg==","signatures":[{"sig":"MEUCIQDRznK5VpTkXLqIY6n3BpS2IEwc1zNBXIaGJpz3it+9dQIgUTN7Xumf4Jxk0yT84njnCtGNkbOEMYvYC8f9eZF1Xuc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@4.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":975042},"type":"module","engines":{"node":">=20"},"gitHead":"4bb216ec458e2834702faa63979fc2434253ae94","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.17.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML — while preserving comments) as an npx-able command, running the real fig CLI's WASI build under Node's built-in (experimental) WASI support. No install, no per-platform binary, ","directories":{},"sideEffects":false,"_nodeVersion":"24.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_4.0.0_1788393531577_0.1070319928519401","host":"s3://npm-registry-packages-npm-production"}},"5.0.0":{"name":"@diaryx/fig-wasi","version":"5.0.0","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@5.0.0","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"3418b57dba171d07d2e665b9584dff8a8d7ec770","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.0.0.tgz","fileCount":24,"integrity":"sha512-8nUHdcENLVOkc4s0ZjPdI+quFgK1QKx1ECd6dSsPBDeJwaSpuFcksDzQeA8vYE735s17bFpw+ErA3cnPAShZog==","signatures":[{"sig":"MEQCIGnm2H2awqz8QQK/TmsJ64NwNxozFREKEuTM7BqnAEPPAiAAyeU13e4Q3HUE+479ReL9M/z3guCV3st1c7Uex0czjA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQC/SsJyLEwBwLjxo0tOLLxc9sJ0vr6xaMKek3TGALQIsQIgQpWqDOkArQlBBEG/L0PDPLxjMFgq9uK2H+xKxJvHYV8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1010649},"type":"module","engines":{"node":">=22"},"gitHead":"9e7c187ed995ca73e9909f198c96aea55d2bb7ec","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_5.0.0_1790542013469_0.4009792528439582","host":"s3://npm-registry-packages-npm-production"}},"5.1.0":{"name":"@diaryx/fig-wasi","version":"5.1.0","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@5.1.0","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"ea144b189e34b34f34e2498f282a6b887f9bb5d9","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.1.0.tgz","fileCount":24,"integrity":"sha512-Pw2u85IFM6qf6u/DelUA7EMozpxWYzhaCKN5bGRVQH+Sa3hTUTgt4jsLiMrom1GfwUbBTQBRKzFdxc/v+KTPzw==","signatures":[{"sig":"MEUCIQCk3JOxvx71PK7MVuSq/DxZ+4QzMOyMYiMvUi3q3vpucgIgUH2b4Jrte7qr2HTLPWIESKr3MlRrcM1wRKvX2TP80jE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQDWf3FI+mrS2JFzOIayWN3sXprvIpOOS8P7ukowZ/MRUgIgT4IIFF2Gd0/zI564IsT1ydYzCVZRvcnL2MuxCQ5fFvs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1013834},"type":"module","engines":{"node":">=22"},"gitHead":"4333492fdeef72a7a38cf5a6256be3a56cff1408","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_5.1.0_1790904928550_0.5870451779152002","host":"s3://npm-registry-packages-npm-production"}},"5.1.1":{"name":"@diaryx/fig-wasi","version":"5.1.1","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@5.1.1","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"814b101567074bbeb450a244e3fe84db6d09397e","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.1.1.tgz","fileCount":24,"integrity":"sha512-AXGIZKBHWNcpjlsPyY3XttisyiKs8i+0B/IbPQRKmVSi/sQnUCwcpz9yRHe596QLkTZQ0k1K2CyKTz537ICv3A==","signatures":[{"sig":"MEYCIQC4LRMD1z40rkgkAsZj0Q0EeYuiqpsAvQDE4v0IrL8q2AIhANQU1wdcKBm1xZHjYjNdiL+sP3BNX9S6kKoBgriX9oW3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHbJaRXp3bHgOoC6CoeyR8Hii15ynjixM8YOsIN+wY0fAiB/nR6sBm0E3CUU4qswzBiLjZe1ly5rBZNC3eFEiiDEMw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1013834},"type":"module","engines":{"node":">=22"},"gitHead":"f8b8e28dc9202f54d515213358093ab58da1de1d","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_5.1.1_1790905854864_0.6912591296787287","host":"s3://npm-registry-packages-npm-production"}},"5.1.2":{"name":"@diaryx/fig-wasi","version":"5.1.2","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@5.1.2","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"ee4c38c1a6c6e9195381219848c62dff9b218985","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.1.2.tgz","fileCount":24,"integrity":"sha512-XOhVHlSxIgkdxyXkphXQLml47UGFiUIIHmBsXGUpdjshO1aImh77dLsKEYR00t7Zx9Lx9qOMctZ4uYtBWlCD2g==","signatures":[{"sig":"MEYCIQDb0O0yWAk6OCnypB1vOwtA/X4hsbSwuGwU+wMTumGl8wIhAI4slRGAXIWSsmG8nrS63AnDKk0Vw0wpaQB+bZXfSGS2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIGFXmAX1D3r7ZlBhLoE15XhyZqJvRqj7cg4t53VqhL6uAiB1h+v5RPnVhjbp5NFbWa/cXyNZeoNbQEP+iMQkqFvn+w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":1014054},"type":"module","engines":{"node":">=22"},"gitHead":"7f6eb8816409210f2b9802462347a53b9ee78e9a","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_5.1.2_1790910582338_0.014486077065591907","host":"s3://npm-registry-packages-npm-production"}},"5.1.3":{"name":"@diaryx/fig-wasi","version":"5.1.3","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","_id":"@diaryx/fig-wasi@5.1.3","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"bin":{"fig":"bin/fig.mjs"},"dist":{"shasum":"77ad3175fbcbe91cdc2dbf274c61a6c9528b5d8c","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.1.3.tgz","fileCount":24,"integrity":"sha512-oUxa8IzJPN2W4c+lqwzcg7ETfku+sIfhJ+jHr+EEUca6j+EsfzcYYgL9nzIEIv0Cl03z4hqV8KvFqJ81/WbEXg==","signatures":[{"sig":"MEYCIQDyVHYHA91jUPXXCkQHl43RXKgLA/OJ6IHHPbYSoHqnHQIhAM0lqFfDOYpOnpEGIZN+l8BB3bT31VuPkbV6CqzzLO+q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIAa10kpSgc8eSc3RbKM31Rt9wRXV5rSgy2oCnJsezApfAiEA7Hvw3erwA3eD5BeLg9ScyUhYGWSb+YcKROJMU+9Sco4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":993582},"type":"module","engines":{"node":">=22"},"gitHead":"649682cd392ddeec2f583a3cd3178f775f91ba3e","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34e55315-2813-4bb6-940b-f5594fabb3a2"}},"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/fig-wasi_5.1.3_1791041210344_0.11758731833314062","host":"s3://npm-registry-packages-npm-production"}},"5.2.0":{"_id":"@diaryx/fig-wasi@5.2.0","bin":{"fig":"bin/fig.mjs"},"bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"dist":{"shasum":"65634720b62715cf13a11391a4c42c6c4efca81f","tarball":"https://registry.npmjs.org/@diaryx/fig-wasi/-/fig-wasi-5.2.0.tgz","fileCount":24,"integrity":"sha512-nA+7fWxVWHBWTINScAb2ACTB1uQ8iuxmHG0FY4rgO/gNzHVJzeTL16EJmzUx74niFtMNawTeFMZlSoquhCg4cw==","signatures":[{"sig":"MEUCIQDXtjk2VE8W2J9bCl3UWPWh/sG34DQFMpQycTiP3Okn0gIgHppfi+r+FFG6ZP8pJydxX0cs3EVmu7tswCIBno4DFu8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD95mc2rCZQ4hj8w/gxrjtftjSTm8L/SWue/y0+iQE+XwIgCUWzi6Snzp/0th7feX1Gy0Eiw3GVjjB2/g3PjDAiitw="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@diaryx%2ffig-wasi@5.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":993582},"name":"@diaryx/fig-wasi","type":"module","author":{"name":"Adam Harris","email":"amh421@icloud.com"},"engines":{"node":">=22"},"gitHead":"28b452cfe2780c8417c8e4da5708def23244aa11","license":"MIT OR Apache-2.0","scripts":{"test":"node --test 'test/**/*.test.mjs'","build":"npm run build:wasm","prepack":"node scripts/vendor-publish-files.mjs","build:wasm":"node scripts/build-wasm.mjs","prepublishOnly":"npm run build && npm test"},"version":"5.2.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"34e55315-2813-4bb6-940b-f5594fabb3a2"}},"homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"_npmVersion":"11.19.0","description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","directories":{},"maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"sideEffects":false,"_nodeVersion":"24.21.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fig-wasi_5.2.0_1791069069366_0.2842641552507068"}}},"time":{"created":"2026-07-19T21:10:40.357Z","modified":"2026-10-03T23:11:09.844Z","3.5.0":"2026-07-19T21:10:40.710Z","3.5.1":"2026-07-19T22:39:04.092Z","3.5.2":"2026-07-20T02:35:03.973Z","3.6.0":"2026-08-24T19:06:10.957Z","4.0.0":"2026-09-02T23:58:51.723Z","5.0.0":"2026-09-27T20:46:53.571Z","5.1.0":"2026-10-02T01:35:28.632Z","5.1.1":"2026-10-02T01:50:54.967Z","5.1.2":"2026-10-02T03:09:42.434Z","5.1.3":"2026-10-03T15:26:50.468Z","5.2.0":"2026-10-03T23:11:09.470Z"},"bugs":{"url":"https://github.com/diaryx-org/fig/issues"},"author":{"name":"Adam Harris","email":"amh421@icloud.com"},"license":"MIT OR Apache-2.0","homepage":"https://github.com/diaryx-org/fig/blob/main/docs/npm-wasi.md","keywords":["json","jsonc","json5","yaml","toml","config","cli","frontmatter","comment-preserving","cross-format","wasi","webassembly","experimental"],"repository":{"url":"git+https://github.com/diaryx-org/fig.git","type":"git","directory":"bindings/wasi"},"description":"EXPERIMENTAL: the fig CLI (parse/edit/convert JSON, JSONC, JSON5, YAML, TOML, INI, dotenv, .properties, NestedText, ZON, plist and fig — while preserving comments) as an npx-able command: the real fig CLI's WASI build under Node's built-in WASI support, w","maintainers":[{"name":"adammharris","email":"amh421@icloud.com"}],"readme":"# `fig` CLI via npm / npx (experimental)\n\n> **Experimental.** This package is new, its underlying approach (running a\n> WASI module through Node's own — separately, officially experimental —\n> `node:wasi` support) has needed several non-obvious compatibility shims to\n> work at all (see [Known limitations](#known-limitations)), and its\n> interface may still change. For anything beyond a quick one-off or CI use,\n> prefer a native install (Homebrew, a downloaded release binary, `cargo\n> install`) — see [the main CLI docs](/README.md#command-line-interface).\n\n`@diaryx/fig-wasi` runs the real `fig` command-line tool — the same\n`get`/`set`/`replace`/`rename`/`insert`/`delete`/`comment`/`check`/`fmt`/`convert` actions\nthe native binary has — with **no install step, no per-platform binary, and no\nnative build**. It ships a single WASI (WebAssembly System Interface) module\nand runs it under Node's built-in WASI support, so `npx` works anywhere Node\n22+ does: Linux, macOS, Windows, CI containers, wherever. Every format the\nnative binary reads is here, ZON and plist included.\n\nIf you already have `fig` installed natively (Homebrew, a downloaded release\nbinary, `cargo install`, ...), you don't need this package — use the real\nbinary. This exists for the zero-install case: a one-off in a shell script, a\nCI pipeline that already has Node but not `fig`, or trying it out without\ncommitting to an install.\n\n## Install\n\nNothing to install — just run it:\n\n```sh\nnpx @diaryx/fig-wasi get config.yaml\n```\n\n`npx` fetches the package, and because it declares a single `bin` (`fig`),\nruns that command directly — you don't need `npx --package=... fig`. If you'd\nrather have `fig` on your `PATH` permanently:\n\n```sh\nnpm install -g @diaryx/fig-wasi\nfig get config.yaml\n```\n\nRequires Node 22+.\n\n## Usage\n\nSame CLI, same actions, same flags as the native binary — see `fig help` and\n`fig <action> --help` for the full reference:\n\n```sh\nnpx @diaryx/fig-wasi get config.yaml\nnpx @diaryx/fig-wasi get -o json config.toml\nnpx @diaryx/fig-wasi set config.yaml server.port 9090\nnpx @diaryx/fig-wasi check config.yaml\nnpx @diaryx/fig-wasi fmt --dry-run config.yaml\n```\n\nSet `FIG_WASI_DEBUG=1` to print diagnostics (fd classifications, internal\ndecisions, exit code) to stderr — useful if something behaves differently on\nyour machine than expected; see\n[bin/fig.mjs](/bindings/wasi/bin/fig.mjs).\n\n## How it works\n\n`zig build wasi` compiles the same `fig` CLI source to a WASI preview1 module\n(a real `_start` command, not a library). The module this package ships is\nbuilt with no format compiled in (`-Dwasi-host=true`, every language off),\nand `bin/fig.mjs` runs it under Node's built-in `node:wasi`, wiring `argv`,\n`env` and stdio straight through so piping and redirection behave like the\nnative binary.\n\nThe formats are `@diaryx/fig`'s JavaScript languages, the ones the library\npackage's callers import, copied into this package's `lib/` at build time.\nThe first time the CLI meets a format, by name (`-i yaml`), by extension or\nby sniffing a file's contents, it asks `bin/fig.mjs` for the language, which\nanswers in-process through the same wire a helper process speaks. That is\nalso what keeps the module small: the whole CLI with no format in it, and\nthe languages as JavaScript Node already runs. The standalone `fig-wasi.wasm`\non GitHub Releases, for `wasmtime` and `wasmer`, is built the ordinary way,\nwith every format compiled in.\n\n## Known limitations\n\nRunning a real filesystem CLI inside a WASI sandbox hosted by Node has some\nreal sharp edges — several of them not merely theoretical, but bugs that took\nreal debugging to find:\n\n- **Absolute paths on Windows** are not resolved. WASI paths are POSIX-style;\n  there's no single filesystem root to preopen the way POSIX gets `/`. Only\n  paths under the current working directory are guaranteed to work on\n  Windows. On macOS/Linux, both relative and absolute paths work.\n- **No TTY detection — output is always treated as \"not a terminal.\"** This\n  is deliberate, not just a missing feature: handing `node:wasi` a real TTY\n  fd directly causes `fig`'s own terminal/color detection to fail outright\n  (confirmed empirically — every action exited non-zero with zero output when\n  run directly in a real terminal, before this was worked around), so this\n  package always proxies stdin/stdout/stderr through temp regular files\n  unless they're already a plain regular file — which as a side effect means\n  `fig` can never see a real TTY through this host. Use `CLICOLOR_FORCE=1` if\n  you want color output regardless; `NO_COLOR=1` is a no-op either way since\n  color is already off by default here.\n- **Piping was broken without a second workaround.** `node:wasi` implements\n  reads/writes via a positional fs syscall, which the OS rejects on a pipe or\n  socket — so piping into or out of this CLI, or a test harness/CI runner\n  capturing output, failed outright until this package started proxying\n  those through temp files too.\n- **Node's WASI support is officially \"Experimental\"** (Node's own stability\n  index, independent of this package's own experimental status). The surface\n  this package relies on — `preview1`, `preopens`, `returnOnExit` — has been\n  stable across many Node majors; this package suppresses the one-time\n  `ExperimentalWarning` Node prints so it doesn't clutter normal use.\n- **No `fig-<action>` handoff.** A native `fig` hands an action it doesn't\n  implement to a `fig-<action>` program on your PATH, the way git does. WASI\n  has neither `exec` nor `fork`, so this build has nowhere to send one and\n  reports that instead of running it. Every action `fig` implements itself is\n  unaffected.\n- **Formats are JavaScript, so their words are their own.** A parse error\n  names the same place with the language's own message, which can be worded\n  differently from the native binary's. The compiled parsers' lints are not\n  here either: `fig check --strict` fails a file only for an error, not for a\n  warning such as fig's leading-zero `007`. The file each reads, and what each\n  writes, is the same.\n- **No `languages.figl`.** A configured language is a helper program the CLI\n  starts, and a WASI module cannot start one, so this build does not read the\n  file.\n- **Slower cold start than the native binary.** Every invocation compiles the\n  WASI module fresh (no persistent process) — fine for occasional/CI use,\n  not a reason to replace a natively-installed `fig` for heavy scripting.\n- Not a security sandbox: don't rely on this to run untrusted config files\n  from an untrusted source and expect isolation guarantees beyond \"no\n  network/thread/socket access\" — Node's own WASI documentation is explicit\n  that its filesystem sandboxing is not a hard security boundary.\n\nGiven how many of the above turned out to be real, previously-undocumented\n`node:wasi` gaps rather than things this package could simply configure\naround, treat this package itself as experimental too, not just its\ndependencies — future Node versions, or WASI programs with different I/O\npatterns than fig's, may surface more.\n\n## See also\n\n- [The Zig CLI / library](/README.md) — install via Homebrew or a release binary.\n- [fig in TypeScript](typescript.md) — the `@diaryx/fig` *library*\n  package (parse/edit/serialize as a JS API), not a CLI.\n","readmeFilename":"README.md"}