{"_id":"@webviewjs/webview","_rev":"18-d05cbcd6666632024e069b4762bef248","name":"@webviewjs/webview","dist-tags":{"next":"0.4.6-rc.1","latest":"0.4.7"},"versions":{"0.1.0":{"name":"@webviewjs/webview","version":"0.1.0","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.1.0","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/twlite/webview#readme","bugs":{"url":"https://github.com/twlite/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"975db98dbb0c1d8b94b3611ce48a63c9a4254019","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.1.0.tgz","fileCount":8,"integrity":"sha512-08td18Uj1eFI4OMohHlXBDce62+RmMyeUhd3NTqlOy59728ONxK3sv0dWqpXe2z11MVZ06lJvhNsTaIZ1c5UVg==","signatures":[{"sig":"MEQCIHCwlbbEjB4J3IyFs4kp4C3E8n0SKt7li3TgMI1lW3x+AiBE/9lIlM8fdsxIDSPMoSU5N/+84eXNQbPLLVfqC1xGGw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":26728},"main":"index.js","napi":{"name":"webview","triples":{"defaults":true,"additional":["i686-pc-windows-msvc","aarch64-apple-darwin","aarch64-linux-android","x86_64-unknown-freebsd","aarch64-pc-windows-msvc","armv7-linux-androideabi"]}},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 10"},"gitHead":"080a64f65b5d503c94b155a8c15a429e663e5379","scripts":{"lint":"oxlint .","test":"node --test './__test__/**/*.test.*'","build":"napi build --platform --release","format":"run-p format:prettier format:rs format:toml","version":"napi version","artifacts":"napi artifacts","format:rs":"cargo fmt","build:debug":"napi build --platform","format:toml":"taplo format","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/twlite/webview.git","type":"git"},"_npmVersion":"10.8.2","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.toml":["taplo format"],"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"20.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","chalk":"^5.3.0","husky":"^9.0.11","nodeia":"^0.0.1","oxlint":"^0.9.0","prettier":"^3.3.3","@swc/core":"^1.6.13","tinybench":"^2.8.0","@taplo/cli":"^0.7.0","typescript":"^5.5.3","@types/node":"^22.7.4","lint-staged":"^15.2.7","@napi-rs/cli":"^2.18.4","npm-run-all2":"^6.2.2","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.1.0","@webviewjs/webview-freebsd-x64":"0.1.0","@webviewjs/webview-darwin-arm64":"0.1.0","@webviewjs/webview-android-arm64":"0.1.0","@webviewjs/webview-linux-x64-gnu":"0.1.0","@webviewjs/webview-win32-x64-msvc":"0.1.0","@webviewjs/webview-win32-ia32-msvc":"0.1.0","@webviewjs/webview-android-arm-eabi":"0.1.0","@webviewjs/webview-win32-arm64-msvc":"0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.1.0_1727938234044_0.5898659069894139","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@webviewjs/webview","version":"0.1.1","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.1.1","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"df48d1bc611184dea7df4e010670eb3060b897b4","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.1.1.tgz","fileCount":8,"integrity":"sha512-UmOA6PqYbUO7iBCgP7i67H+wDEqE99nXh6NPn1+2/RYi1xkiyVzR0L34hkS+7INJMZgtZLntc6+EOmW+rZNBgw==","signatures":[{"sig":"MEUCIQCckJWLo5e7QIE8n9PFcOVFH+Wocp4fBj7VvniO9JNCJAIgUEH9IiYx12nilF8paGzx/Vz0BXP72T7CjDX5NbqjyEg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":31203},"main":"./index.js","napi":{"name":"webview","triples":{"defaults":true,"additional":["i686-pc-windows-msvc","aarch64-apple-darwin","aarch64-linux-android","x86_64-unknown-freebsd","aarch64-pc-windows-msvc","armv7-linux-androideabi"]}},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 10"},"gitHead":"22f17460d995a4fbdd43f8b5ffe172798843fbf4","scripts":{"lint":"oxlint .","test":"node --test './__test__/**/*.test.*'","build":"napi build --platform --release","format":"run-p format:prettier format:rs format:toml","version":"napi version","artifacts":"napi artifacts","format:rs":"cargo fmt","build:debug":"napi build --platform","format:toml":"taplo format","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"10.8.2","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.toml":["taplo format"],"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"20.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","chalk":"^5.3.0","husky":"^9.0.11","nodeia":"^0.0.1","oxlint":"^0.9.0","prettier":"^3.3.3","@swc/core":"^1.6.13","tinybench":"^2.8.0","@taplo/cli":"^0.7.0","typescript":"^5.5.3","@types/node":"^22.7.4","lint-staged":"^15.2.7","@napi-rs/cli":"^2.18.4","npm-run-all2":"^6.2.2","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.1.1","@webviewjs/webview-freebsd-x64":"0.1.1","@webviewjs/webview-darwin-arm64":"0.1.1","@webviewjs/webview-android-arm64":"0.1.1","@webviewjs/webview-linux-x64-gnu":"0.1.1","@webviewjs/webview-win32-x64-msvc":"0.1.1","@webviewjs/webview-win32-ia32-msvc":"0.1.1","@webviewjs/webview-android-arm-eabi":"0.1.1","@webviewjs/webview-win32-arm64-msvc":"0.1.1"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.1.1_1728479259357_0.49420027596427607","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@webviewjs/webview","version":"0.1.2","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.1.2","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"76a1d116649c58d80eb2675c2061fda37988d6bd","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.1.2.tgz","fileCount":8,"integrity":"sha512-BGnh5YNcq2JjT7jdgXYtQpFqMdj/6zHXIy1JhAgDb1V3j+sDXxNGwLNXI+DC55E+5H0FzAmKQCWcpcfH59ziSg==","signatures":[{"sig":"MEUCICoXMJhtAlCcdcnaeEC+tK+WeXq8pWwikRaERopL6VFKAiEApeV3kkJuyGeyaN9I8yWWoFm5hWeC5DrWVpSi+1SFnF4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33226},"main":"./index.js","napi":{"name":"webview","triples":{"defaults":true,"additional":["i686-pc-windows-msvc","aarch64-apple-darwin","aarch64-linux-android","x86_64-unknown-freebsd","aarch64-pc-windows-msvc","armv7-linux-androideabi"]}},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 10"},"gitHead":"291225e0987e4b4303fae020711b89a6a4f95383","scripts":{"lint":"oxlint .","test":"node --test './__test__/**/*.test.*'","build":"napi build --platform --release","format":"run-p format:prettier format:rs format:toml","version":"napi version","artifacts":"napi artifacts","format:rs":"cargo fmt","build:debug":"napi build --platform","format:toml":"taplo format","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"10.8.2","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.toml":["taplo format"],"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"20.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","chalk":"^5.3.0","husky":"^9.0.11","nodeia":"^0.0.1","oxlint":"^0.9.0","prettier":"^3.3.3","@swc/core":"^1.6.13","tinybench":"^2.8.0","@taplo/cli":"^0.7.0","typescript":"^5.5.3","@types/node":"^22.7.4","lint-staged":"^15.2.7","@napi-rs/cli":"^2.18.4","npm-run-all2":"^6.2.2","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.1.2","@webviewjs/webview-freebsd-x64":"0.1.2","@webviewjs/webview-darwin-arm64":"0.1.2","@webviewjs/webview-android-arm64":"0.1.2","@webviewjs/webview-linux-x64-gnu":"0.1.2","@webviewjs/webview-win32-x64-msvc":"0.1.2","@webviewjs/webview-win32-ia32-msvc":"0.1.2","@webviewjs/webview-android-arm-eabi":"0.1.2","@webviewjs/webview-win32-arm64-msvc":"0.1.2"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.1.2_1730890533202_0.7488736392121067","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@webviewjs/webview","version":"0.1.3","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.1.3","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"55121f1afa6385de24612361e3a7502a582f2305","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.1.3.tgz","fileCount":8,"integrity":"sha512-bDs1Iqg5VGCpnURMlFSLS6L1eM2I7LfbUbj80/XajFKEX1rd5lT3kR6JPJy0QGyNSDO0vKuwd6prfl9+hYWRDg==","signatures":[{"sig":"MEUCIQDGHRlHlcmsoGDAEGmogaqMnElEmrscsb8mBSlPnhqRCgIgUZjX0OOGPO8H4k2HefTaaf6BapXFMowW2tknLWeEcD4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":33226},"main":"./index.js","napi":{"name":"webview","triples":{"defaults":true,"additional":["i686-pc-windows-msvc","aarch64-apple-darwin","aarch64-linux-android","x86_64-unknown-freebsd","aarch64-pc-windows-msvc","armv7-linux-androideabi"]}},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 10"},"gitHead":"04410f32f272c4879d2043b96897fb3092f7c716","scripts":{"lint":"oxlint .","test":"node --test './__test__/**/*.test.*'","build":"napi build --platform --release","format":"run-p format:prettier format:rs format:toml","version":"napi version","artifacts":"napi artifacts","format:rs":"cargo fmt","build:debug":"napi build --platform","format:toml":"taplo format","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"10.8.2","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.toml":["taplo format"],"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"20.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"ava":"^6.1.3","chalk":"^5.3.0","husky":"^9.0.11","nodeia":"^0.0.1","oxlint":"^0.9.0","prettier":"^3.3.3","@swc/core":"^1.6.13","tinybench":"^2.8.0","@taplo/cli":"^0.7.0","typescript":"^5.5.3","@types/node":"^22.7.4","lint-staged":"^15.2.7","@napi-rs/cli":"^2.18.4","npm-run-all2":"^6.2.2","@swc-node/register":"^1.10.6"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.1.3","@webviewjs/webview-freebsd-x64":"0.1.3","@webviewjs/webview-darwin-arm64":"0.1.3","@webviewjs/webview-android-arm64":"0.1.3","@webviewjs/webview-linux-x64-gnu":"0.1.3","@webviewjs/webview-win32-x64-msvc":"0.1.3","@webviewjs/webview-win32-ia32-msvc":"0.1.3","@webviewjs/webview-android-arm-eabi":"0.1.3","@webviewjs/webview-win32-arm64-msvc":"0.1.3"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.1.3_1731474151694_0.6900334214500219","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@webviewjs/webview","version":"0.1.4","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.1.4","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"993a71830c1623e635beff93da4f43d5109c5f2d","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.1.4.tgz","fileCount":8,"integrity":"sha512-2Wj8W6O39I9W+uriH7NCLiVzWds1p2hZcroRk3lGnQo/rk5yD7O8XhrBK7UxQCMjmD6OrU1g9CsC5jzrsClwuA==","signatures":[{"sig":"MEQCIGIUDTjK3T45Dusage80GlKPYWxNHiq731Wl2zO0ndNrAiA0CM9E5BC8NKMwaQef6OPiysbxDD3YfShxikI95WYiGg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50610},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 10"},"gitHead":"c4703fd621b6699888fc9f273a3c7614b090d1dd","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"napi build --platform --release","check":"cargo check","clean":"napi clean && cargo clean","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","build:all":"napi build --release","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"napi build --platform","prepublishOnly":"napi prepublish -t npm","build:prebuilds":"napi build --platform --release --strip","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"10.8.2","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"20.19.6","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.5","devDependencies":{"ava":"^6.4.1","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^25.0.3","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.1.4","@webviewjs/webview-freebsd-x64":"0.1.4","@webviewjs/webview-darwin-arm64":"0.1.4","@webviewjs/webview-android-arm64":"0.1.4","@webviewjs/webview-linux-x64-gnu":"0.1.4","@webviewjs/webview-win32-x64-msvc":"0.1.4","@webviewjs/webview-win32-ia32-msvc":"0.1.4","@webviewjs/webview-android-arm-eabi":"0.1.4","@webviewjs/webview-win32-arm64-msvc":"0.1.4"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.1.4_1768139505406_0.15674856976027862","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@webviewjs/webview","version":"0.2.0","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.2.0","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"60a90f8cf17bc6f92aa2dfc7a612dcd1e193f5b1","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.2.0.tgz","fileCount":8,"integrity":"sha512-KQrpeHeNTtZQkiu9qdPie5IVonJlgxeTxo6RG0BGw11dG+KO/8abP/h/623QlmAQxT0Ioi9HE3rh0TtNGpXyyg==","signatures":[{"sig":"MEUCIDgq7SJOc4cBeQP8TjQvW37Ube97PCscYDSpYgZK1zH3AiEAzF8J8EN4MVDJ7WUuH6BjdOMF48sGW/TssxC+5+Is7Ug=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":28543},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"4b75460744f9b7e771595bc6ebdb2798605d7e43","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.13.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.0.0","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.2.0","@webviewjs/webview-freebsd-x64":"0.2.0","@webviewjs/webview-darwin-arm64":"0.2.0","@webviewjs/webview-android-arm64":"0.2.0","@webviewjs/webview-linux-x64-gnu":"0.2.0","@webviewjs/webview-linux-ia32-gnu":"0.2.0","@webviewjs/webview-win32-x64-msvc":"0.2.0","@webviewjs/webview-linux-arm64-gnu":"0.2.0","@webviewjs/webview-win32-ia32-msvc":"0.2.0","@webviewjs/webview-android-arm-eabi":"0.2.0","@webviewjs/webview-win32-arm64-msvc":"0.2.0","@webviewjs/webview-linux-arm-gnueabihf":"0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.2.0_1781937910136_0.8562081320497847","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@webviewjs/webview","version":"0.2.1","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.2.1","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"41f9d516dfce1d42b5e6326a8a4fe4fc082f7db0","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.2.1.tgz","fileCount":27,"integrity":"sha512-0LamjKVxkkuwrpFu5iTlkNmOr5fET4coEFvVEa67lkuJ4JoNNz1Yo3xa9zhnn2DrtyVsJ07Q0zl2Sk8hROwwag==","signatures":[{"sig":"MEUCIQCbcXf5bVhNSkaIuVVwaF+zUZAIoC0aGSgOoMD9nS4sAQIgXS/0lDX7pf5wAMt/mVroPU/amqeafdT40qVlfmU8vVw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":108447},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"7f3d5e7e9d42f29b7b7d0a5860d7991fad3e0411","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"snowflake7","email":"mail2dynamite@gmail.com"},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.13.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.16.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.0.0","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.2.1","@webviewjs/webview-freebsd-x64":"0.2.1","@webviewjs/webview-darwin-arm64":"0.2.1","@webviewjs/webview-android-arm64":"0.2.1","@webviewjs/webview-linux-x64-gnu":"0.2.1","@webviewjs/webview-linux-ia32-gnu":"0.2.1","@webviewjs/webview-win32-x64-msvc":"0.2.1","@webviewjs/webview-linux-arm64-gnu":"0.2.1","@webviewjs/webview-win32-ia32-msvc":"0.2.1","@webviewjs/webview-android-arm-eabi":"0.2.1","@webviewjs/webview-win32-arm64-msvc":"0.2.1","@webviewjs/webview-linux-arm-gnueabihf":"0.2.1"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.2.1_1781949211829_0.1932079899592707","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@webviewjs/webview","version":"0.3.0","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.3.0","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"2454da2c5ade66ae4db5e28bf1ea3161e7890ce1","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.3.0.tgz","fileCount":32,"integrity":"sha512-OHgtXuwn3Y2fxvGHYwStKj62J8BXCDmAPaEBykIu/Tke3yLO1YE4zHPCgxXduBDOMhCOJ5ZVY6ql7sRstfk2lg==","signatures":[{"sig":"MEUCIHx8EpRy+LhvCxBUHV2Ou1hT3cM5kwQ3nIwePd1TFJKBAiEA5PM0AvP1gXATKxmutVGj5gzxXLGUjKObiv4tArl2geE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":171966},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"f45717cd8aacd1fae396a567e03d9dcd2331f426","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.13.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.27","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.0.0","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.3.0","@webviewjs/webview-freebsd-x64":"0.3.0","@webviewjs/webview-darwin-arm64":"0.3.0","@webviewjs/webview-android-arm64":"0.3.0","@webviewjs/webview-linux-x64-gnu":"0.3.0","@webviewjs/webview-linux-ia32-gnu":"0.3.0","@webviewjs/webview-win32-x64-msvc":"0.3.0","@webviewjs/webview-linux-arm64-gnu":"0.3.0","@webviewjs/webview-win32-ia32-msvc":"0.3.0","@webviewjs/webview-android-arm-eabi":"0.3.0","@webviewjs/webview-win32-arm64-msvc":"0.3.0","@webviewjs/webview-linux-arm-gnueabihf":"0.3.0"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.3.0_1782555700391_0.6644625419318513","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@webviewjs/webview","version":"0.3.2","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.3.2","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"a3e6a9e1fe2eecc1ffd028182cc3187365fd5951","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.3.2.tgz","fileCount":33,"integrity":"sha512-mmqK3Ivy8Aq04A6O1lBbBrMIW1YUXSUsAoJRcClz6QWyTx1vIGAJFJiJKT67ITzlzBECSeq9+SlGTQD7V7QxXg==","signatures":[{"sig":"MEQCIFcJ2GIjKz8YMn2EsVoSkoOytBqF7zHv9mVPZg0ELkfAAiAP3/kgEZCY7RbYTFTXYeYM06HU0vcvvgySTkfVZJxQbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":194237},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"8ff7ccfaef22e0664013d269aebd16e4f65cbfbd","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.13.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.27","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.0.0","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.3.2","@webviewjs/webview-freebsd-x64":"0.3.2","@webviewjs/webview-darwin-arm64":"0.3.2","@webviewjs/webview-android-arm64":"0.3.2","@webviewjs/webview-linux-x64-gnu":"0.3.2","@webviewjs/webview-linux-ia32-gnu":"0.3.2","@webviewjs/webview-win32-x64-msvc":"0.3.2","@webviewjs/webview-linux-arm64-gnu":"0.3.2","@webviewjs/webview-win32-ia32-msvc":"0.3.2","@webviewjs/webview-android-arm-eabi":"0.3.2","@webviewjs/webview-win32-arm64-msvc":"0.3.2","@webviewjs/webview-linux-arm-gnueabihf":"0.3.2"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.3.2_1782559476002_0.39000415864412696","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@webviewjs/webview","version":"0.4.0","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.0","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"9d51ec94b177ead8f7da3f7125616005dec44683","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.0.tgz","fileCount":34,"integrity":"sha512-DL00kAQZZk6VpDXjmsjbentZiJWINit4Sm/Ac6rtk+HLa5sBgXvit7pHqAR0aB+Tc9t0zaifoC3O/ZC5YQ6/OA==","signatures":[{"sig":"MEUCIQCjhXXsHp9LQlYJJKYyJDI/i5KZMoXNqVowksDWmLyglQIgBcGFCaMkuqKmHkmBWUUiiufo7mM2YHbtBY6+fwaURbU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":200673},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"5522791fafba871b23dc032f985c883b0f812669","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.13.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.17.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.27","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.7.4","@swc/core":"^1.15.8","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.0.0","lint-staged":"^15.5.2","@napi-rs/cli":"^3.5.1","npm-run-all2":"^7.0.2","@swc-node/register":"^1.11.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.0","@webviewjs/webview-freebsd-x64":"0.4.0","@webviewjs/webview-darwin-arm64":"0.4.0","@webviewjs/webview-android-arm64":"0.4.0","@webviewjs/webview-linux-x64-gnu":"0.4.0","@webviewjs/webview-linux-ia32-gnu":"0.4.0","@webviewjs/webview-win32-x64-msvc":"0.4.0","@webviewjs/webview-linux-arm64-gnu":"0.4.0","@webviewjs/webview-win32-ia32-msvc":"0.4.0","@webviewjs/webview-android-arm-eabi":"0.4.0","@webviewjs/webview-win32-arm64-msvc":"0.4.0","@webviewjs/webview-linux-arm-gnueabihf":"0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.0_1782747096512_0.7504552671745024","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@webviewjs/webview","version":"0.4.1","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.1","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"1b84a33f3a64f1dfff5c37dde431fa4a497f5750","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.1.tgz","fileCount":34,"integrity":"sha512-beKImyzqMGED6O4zRA7e9Bmxq/vQW63F1gAY9sREAKyR2hVFUPgNDnGo+Zc30QfTKpeeJt0Ajdk1cY28vvagCQ==","signatures":[{"sig":"MEQCIEaHh0HPLlfSSM5u57rPwSm3eLvbvz2tMsodrU0ppgYkAiBKbRq6SpvRgK7YtzmD1YidUMnvx7ttLPBWTxPfQt3jwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":199032},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"ed6283b004b9940b6847169f6d1c425752d4c22c","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.16.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.1","@webviewjs/webview-freebsd-x64":"0.4.1","@webviewjs/webview-darwin-arm64":"0.4.1","@webviewjs/webview-android-arm64":"0.4.1","@webviewjs/webview-linux-x64-gnu":"0.4.1","@webviewjs/webview-linux-ia32-gnu":"0.4.1","@webviewjs/webview-win32-x64-msvc":"0.4.1","@webviewjs/webview-linux-arm64-gnu":"0.4.1","@webviewjs/webview-win32-ia32-msvc":"0.4.1","@webviewjs/webview-android-arm-eabi":"0.4.1","@webviewjs/webview-win32-arm64-msvc":"0.4.1","@webviewjs/webview-linux-arm-gnueabihf":"0.4.1"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.1_1784888470687_0.8531622179182046","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@webviewjs/webview","version":"0.4.2","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.2","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"205feb8be6f6be0436efec25f6263253baa0978e","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.2.tgz","fileCount":34,"integrity":"sha512-SCBQGUgecHqpKfBLc/G/Si0nTvkgatXfFZyIqPVCQA1ieMyMqXiI1GFFGT+tmL8zeIdCXxC+GZwFfh6c1TeQSA==","signatures":[{"sig":"MEUCIQCq6fXqcZIq0eHqo1+dNCeYmXR9F0zYC3o9zioiYVCDRgIgdtapsOKu3J25oYDTNT7MyGawxAXTdQYdE06K4t1WJ5E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":203704},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"2c3f6955a80f3a9133d8b51b560c74f142b4dfbf","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.16.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.18.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.2","@webviewjs/webview-freebsd-x64":"0.4.2","@webviewjs/webview-darwin-arm64":"0.4.2","@webviewjs/webview-android-arm64":"0.4.2","@webviewjs/webview-linux-x64-gnu":"0.4.2","@webviewjs/webview-linux-ia32-gnu":"0.4.2","@webviewjs/webview-win32-x64-msvc":"0.4.2","@webviewjs/webview-linux-arm64-gnu":"0.4.2","@webviewjs/webview-win32-ia32-msvc":"0.4.2","@webviewjs/webview-android-arm-eabi":"0.4.2","@webviewjs/webview-win32-arm64-msvc":"0.4.2","@webviewjs/webview-linux-arm-gnueabihf":"0.4.2"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.2_1786282596295_0.6485373271945001","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@webviewjs/webview","version":"0.4.3","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.3","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"5aa552ffc071130456c67c640be9c63fb7ec3957","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.3.tgz","fileCount":34,"integrity":"sha512-ErSHsSvR3CSO1Q2wt5yx0a3Y0uBSPbX++kGTtru3uTIrc58oYGsj/GKiMP4f7/O+qAbP3dCglC0n1xYDTx0WpA==","signatures":[{"sig":"MEUCIA7a1gQZKIgq/4gI/AGOeOm5fvrVWsmtnmZWiMGGiLGIAiEAtTV332VWO6a/k22yN+W/0x48COrXXekJf3fgJ0Dy67I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":205806},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"d6d94a4a30df9ab0d58d5d8269626066a1a8c4b9","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.17.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.3","@webviewjs/webview-freebsd-x64":"0.4.3","@webviewjs/webview-darwin-arm64":"0.4.3","@webviewjs/webview-android-arm64":"0.4.3","@webviewjs/webview-linux-x64-gnu":"0.4.3","@webviewjs/webview-linux-ia32-gnu":"0.4.3","@webviewjs/webview-win32-x64-msvc":"0.4.3","@webviewjs/webview-linux-arm64-gnu":"0.4.3","@webviewjs/webview-win32-ia32-msvc":"0.4.3","@webviewjs/webview-android-arm-eabi":"0.4.3","@webviewjs/webview-win32-arm64-msvc":"0.4.3","@webviewjs/webview-linux-arm-gnueabihf":"0.4.3"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.3_1786880334089_0.32321564304893613","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@webviewjs/webview","version":"0.4.4","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.4","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"1f1bea78ea8657e9fb074e4523447d46d7a8907b","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.4.tgz","fileCount":34,"integrity":"sha512-sbAPVFn69U3kBhbFJXA6EnJ7gI6WW0ggml5WRJKe0axvqr8UWFF9Obpo0aLNWfrVdGuQ/n7WY7msS6/Tx5JmpA==","signatures":[{"sig":"MEYCIQCJ72pouUO44xokIb1OtH0da8hCN/6mqQbEuycJqY9kWwIhAJQxks1B8rlzv58Ox/qll0CVHkNGTqfN5gVdcnQtQQJ2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":205023},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"adeb3042d79704de4008fe7c5e28fcf87d10210e","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.17.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.19.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.4","@webviewjs/webview-freebsd-x64":"0.4.4","@webviewjs/webview-darwin-arm64":"0.4.4","@webviewjs/webview-android-arm64":"0.4.4","@webviewjs/webview-linux-x64-gnu":"0.4.4","@webviewjs/webview-linux-ia32-gnu":"0.4.4","@webviewjs/webview-win32-x64-msvc":"0.4.4","@webviewjs/webview-linux-arm64-gnu":"0.4.4","@webviewjs/webview-win32-ia32-msvc":"0.4.4","@webviewjs/webview-android-arm-eabi":"0.4.4","@webviewjs/webview-win32-arm64-msvc":"0.4.4","@webviewjs/webview-linux-arm-gnueabihf":"0.4.4"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.4_1788081550928_0.9277048673875945","host":"s3://npm-registry-packages-npm-production"}},"0.4.5":{"name":"@webviewjs/webview","version":"0.4.5","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.5","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"c894b5a5455a50e2bdbbfd02f1645a81b01741e2","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.5.tgz","fileCount":34,"integrity":"sha512-oM5zAxXL10dFXkMyHxzdeQN1cCpVEP/xGlOyd3iT3u4TItpB1KDiCFWsc3CBz4e6/C8byr3NKnzxlhSD8oKg+g==","signatures":[{"sig":"MEUCIArllUemVT48zriH1/++uOXbK3DYBST6uKd9ZmXmzbmJAiEAjV+wH+D1YnRSqBNAXggQ+sGpv525N9msBMbjHMBaUXA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":202345},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"ce74e90dbfc2ad295263fd6e37b241b32b7e8ffa","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.19.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.20.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.5","@webviewjs/webview-freebsd-x64":"0.4.5","@webviewjs/webview-darwin-arm64":"0.4.5","@webviewjs/webview-android-arm64":"0.4.5","@webviewjs/webview-linux-x64-gnu":"0.4.5","@webviewjs/webview-linux-ia32-gnu":"0.4.5","@webviewjs/webview-win32-x64-msvc":"0.4.5","@webviewjs/webview-linux-arm64-gnu":"0.4.5","@webviewjs/webview-win32-ia32-msvc":"0.4.5","@webviewjs/webview-android-arm-eabi":"0.4.5","@webviewjs/webview-win32-arm64-msvc":"0.4.5","@webviewjs/webview-linux-arm-gnueabihf":"0.4.5"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.5_1788878997590_0.3469392524616468","host":"s3://npm-registry-packages-npm-production"}},"0.4.6-rc.1":{"name":"@webviewjs/webview","version":"0.4.6-rc.1","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.6-rc.1","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"447be75bf98ab190dc3c3338c59ba8ca79870cee","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.6-rc.1.tgz","fileCount":34,"integrity":"sha512-NRyNZUenaj825JyOWTAkieCNzBSfqxBBPux4ppQJQVyjUZHIXeXndaswe4I6A33r4ptR/vuy4OxLZNQg4gJm1g==","signatures":[{"sig":"MEYCIQDvN8OxavJT3TLoqKpKuGR7VYV9AIeqTab75GnoyIY7fQIhAId/KlVmjuc/Jlc/eLwF368RoeIGIWnju0av/mFhx+Ge","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIB9FYdUaITYn3tKcYUv5dbtZxe4z2VwCzxFIbizyj04yAiAWc/8iyC4G5AjGYKUW8aFhh0p5vV/pQR8quldGvNjoQg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.6-rc.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":206860},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"8c721b9dd2e40d89678911ae919bc2cdd6d164bb","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.19.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.20.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","readmeFilename":"README.md","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.6-rc.1","@webviewjs/webview-freebsd-x64":"0.4.6-rc.1","@webviewjs/webview-darwin-arm64":"0.4.6-rc.1","@webviewjs/webview-android-arm64":"0.4.6-rc.1","@webviewjs/webview-linux-x64-gnu":"0.4.6-rc.1","@webviewjs/webview-linux-ia32-gnu":"0.4.6-rc.1","@webviewjs/webview-win32-x64-msvc":"0.4.6-rc.1","@webviewjs/webview-linux-arm64-gnu":"0.4.6-rc.1","@webviewjs/webview-win32-ia32-msvc":"0.4.6-rc.1","@webviewjs/webview-android-arm-eabi":"0.4.6-rc.1","@webviewjs/webview-win32-arm64-msvc":"0.4.6-rc.1","@webviewjs/webview-linux-arm-gnueabihf":"0.4.6-rc.1"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.6-rc.1_1789826613011_0.11100968890194451","host":"s3://npm-registry-packages-npm-production"}},"0.4.6":{"name":"@webviewjs/webview","version":"0.4.6","keywords":["webview","node","rust","cross-platform","gui"],"license":"MIT","_id":"@webviewjs/webview@0.4.6","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"homepage":"https://github.com/webviewjs/webview#readme","bugs":{"url":"https://github.com/webviewjs/webview/issues"},"bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"dist":{"shasum":"a55d33263ddf0c856344ae90241905feb321bc61","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.6.tgz","fileCount":34,"integrity":"sha512-GxRbyx18d9C8MgKbR6lz5+hz3uiW7+mfi3b8/3qo2kNGoH0btvUt6Sov/G9L6jtfdnTd5vz6X2YZ1kgM+EHdpw==","signatures":[{"sig":"MEUCIFJK7sMl8izxoVoaPVQnY2ZKTgoc09JVzlZAziqKfiIkAiEA6v3Ig9hO+ZGI/asHogtbhxG/pbxuluYFRj0oRC1NSHU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCWerMVNm+/QD7yDPKPjs4gOg8B7VyE+hsTukbhMKsU6AIhANSLo7H0QKlh1janreW/6gID/x4nXKfULxfh7KmRwwRn","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":206795},"main":"./index.js","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"0b1854f957fde6754b7e47236b0afd18d3b72a22","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.19.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"_nodeVersion":"24.20.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.6","@webviewjs/webview-freebsd-x64":"0.4.6","@webviewjs/webview-darwin-arm64":"0.4.6","@webviewjs/webview-android-arm64":"0.4.6","@webviewjs/webview-linux-x64-gnu":"0.4.6","@webviewjs/webview-linux-ia32-gnu":"0.4.6","@webviewjs/webview-win32-x64-msvc":"0.4.6","@webviewjs/webview-linux-arm64-gnu":"0.4.6","@webviewjs/webview-win32-ia32-msvc":"0.4.6","@webviewjs/webview-android-arm-eabi":"0.4.6","@webviewjs/webview-win32-arm64-msvc":"0.4.6","@webviewjs/webview-linux-arm-gnueabihf":"0.4.6"},"_npmOperationalInternal":{"tmp":"tmp/webview_0.4.6_1789903242467_0.37792264813910914","host":"s3://npm-registry-packages-npm-production"}},"0.4.7":{"_id":"@webviewjs/webview@0.4.7","bin":{"webview":"cli/index.mjs","webviewjs":"cli/index.mjs"},"bugs":{"url":"https://github.com/webviewjs/webview/issues"},"dist":{"shasum":"8ba68637f496304c8e78afc1ec89579032cfbf60","tarball":"https://registry.npmjs.org/@webviewjs/webview/-/webview-0.4.7.tgz","fileCount":34,"integrity":"sha512-Olc0urFKJ96IF4T7GX2u32AQlcjJoOJq0qhQPaMqZOst/PWJ3AZlzPsnvE3q4wg1H5GVmX+vfDBtibhSo9RInQ==","signatures":[{"sig":"MEYCIQDrwUYwtLEVeVs0/s0XefHathSp9KuSgEBtd2TG9VyPzAIhAOovRvbd4pHlw89rGmZVB88PH8R1rIkn5ertEPt1/L/T","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDsl+Eh1PAoZoY9hyRzStmoI5VRr9HakvlJpJt8tz8piAIhAJP35W5U3HMwh8cpZtf9lDADWZZ0+YS9p/Fli/mRiQQq"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@webviewjs%2fwebview@0.4.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":209147},"main":"./index.js","name":"@webviewjs/webview","napi":{"targets":["x86_64-pc-windows-msvc","i686-pc-windows-msvc","aarch64-pc-windows-msvc","x86_64-apple-darwin","aarch64-apple-darwin","x86_64-unknown-linux-gnu","i686-unknown-linux-gnu","aarch64-unknown-linux-gnu","armv7-unknown-linux-gnueabihf","aarch64-linux-android","armv7-linux-androideabi","x86_64-unknown-freebsd"],"constEnum":false,"binaryName":"webview"},"type":"commonjs","types":"./index.d.ts","engines":{"node":">= 24"},"gitHead":"ff35d93ed1fac7962f4c4f0fa155aff0380fcaa8","license":"MIT","scripts":{"docs":"cargo doc --no-deps --open","lint":"oxlint .","test":"node --test __test__/*.test.*","build":"node ./scripts/build.js --release","check":"cargo check","clean":"napi clean && cargo clean","setup":"bash ./scripts/install-linux-deps.sh","clippy":"cargo clippy -- -D warnings","format":"run-p format:prettier format:rs","update":"bun update","version":"napi version","lint:fix":"oxlint --fix .","artifacts":"napi artifacts","format:rs":"cargo fmt","test:watch":"node --test --watch __test__/*.test.*","build:debug":"node ./scripts/build.js","prepublishOnly":"napi prepublish -t npm","format:prettier":"prettier . -w"},"version":"0.4.7","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:606699f3-eb35-4209-afc2-d3f4f5cb27e4"}},"homepage":"https://github.com/webviewjs/webview#readme","keywords":["webview","node","rust","cross-platform","gui"],"prettier":{"semi":true,"useTabs":false,"tabWidth":2,"endOfLine":"lf","printWidth":120,"arrowParens":"always","singleQuote":true,"trailingComma":"all"},"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"_npmVersion":"11.19.0","description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","directories":{},"lint-staged":{"*.@(js|ts|tsx)":["oxlint --fix"],"*.@(js|ts|tsx|yml|yaml|md|json)":["prettier --write"]},"maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"_nodeVersion":"24.21.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"packageManager":"bun@1.3.14","devDependencies":{"ava":"^6.4.1","hono":"^4.12.32","chalk":"^5.6.2","husky":"^9.1.7","nodeia":"^0.0.1","oxlint":"^0.13.2","prettier":"^3.9.6","@swc/core":"^1.15.46","tinybench":"^2.9.0","typescript":"^5.9.3","@types/node":"^26.1.1","lint-staged":"^15.5.2","@napi-rs/cli":"^3.7.4","npm-run-all2":"^7.0.2","@swc-node/register":"^1.12.1"},"optionalDependencies":{"@webviewjs/webview-darwin-x64":"0.4.7","@webviewjs/webview-freebsd-x64":"0.4.7","@webviewjs/webview-darwin-arm64":"0.4.7","@webviewjs/webview-android-arm64":"0.4.7","@webviewjs/webview-linux-x64-gnu":"0.4.7","@webviewjs/webview-linux-ia32-gnu":"0.4.7","@webviewjs/webview-win32-x64-msvc":"0.4.7","@webviewjs/webview-linux-arm64-gnu":"0.4.7","@webviewjs/webview-win32-ia32-msvc":"0.4.7","@webviewjs/webview-android-arm-eabi":"0.4.7","@webviewjs/webview-win32-arm64-msvc":"0.4.7","@webviewjs/webview-linux-arm-gnueabihf":"0.4.7"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webview_0.4.7_1790266233964_0.8436731485159259"}}},"time":{"created":"2024-10-03T06:50:33.950Z","modified":"2026-09-24T16:10:34.429Z","0.1.0":"2024-10-03T06:50:34.234Z","0.1.1":"2024-10-09T13:07:39.581Z","0.1.2":"2024-11-06T10:55:33.409Z","0.1.3":"2024-11-13T05:02:31.860Z","0.1.4":"2026-01-11T13:51:45.560Z","0.2.0":"2026-06-20T06:45:10.281Z","0.2.1":"2026-06-20T09:53:31.965Z","0.3.0":"2026-06-27T10:21:40.532Z","0.3.2":"2026-06-27T11:24:36.154Z","0.4.0":"2026-06-29T15:31:36.646Z","0.4.1":"2026-07-24T10:21:10.820Z","0.4.2":"2026-08-09T13:36:36.441Z","0.4.3":"2026-08-16T11:38:54.234Z","0.4.4":"2026-08-30T09:19:11.073Z","0.4.5":"2026-09-08T14:49:57.711Z","0.4.6-rc.1":"2026-09-19T14:03:33.110Z","0.4.6":"2026-09-20T11:20:42.552Z","0.4.7":"2026-09-24T16:10:34.061Z"},"bugs":{"url":"https://github.com/webviewjs/webview/issues"},"license":"MIT","homepage":"https://github.com/webviewjs/webview#readme","keywords":["webview","node","rust","cross-platform","gui"],"repository":{"url":"git+ssh://git@github.com/webviewjs/webview.git","type":"git"},"description":"Robust cross-platform webview library for Node.js written in Rust. It also works with deno and bun.","maintainers":[{"name":"snowflake7","email":"mail2dynamite@gmail.com"}],"readme":"# `@webviewjs/webview`\n\n[![CI](https://github.com/webviewjs/webview/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/webviewjs/webview/actions/workflows/CI.yml)\n[![npm](https://img.shields.io/npm/v/%40webviewjs%2Fwebview?logo=npm)](https://www.npmjs.com/package/@webviewjs/webview)\n[![License](https://img.shields.io/github/license/webviewjs/webview)](https://github.com/webviewjs/webview/blob/main/LICENSE)\n\nBuild lightweight native desktop applications with JavaScript and the webview\nengine already provided by the operating system. WebviewJS is a typed N-API\nbinding to [tao](https://github.com/tauri-apps/tao) and\n[wry](https://github.com/tauri-apps/wry), with a small JavaScript surface and\nfirst-class support for Node.js, Bun, and Deno.\n\nIt is a good fit for utilities, internal tools, desktop companions, and\nexisting web applications that need a native window without bundling a second\nbrowser engine.\n\n[Get started](https://webview.js.org/quickstart.md) ·\n[API reference](https://webview.js.org/api/application.md) ·\n[Examples](./examples) ·\n[Platform notes](https://webview.js.org/platforms/linux.md)\n\n![WebviewJS preview](https://github.com/webviewjs/webview/raw/main/assets/preview.png)\n\n## Highlights\n\n- Native windows backed by WebView2, WebKit, or WebKitGTK instead of a bundled browser runtime.\n- Non-blocking event pumping that keeps ordinary JavaScript timers and I/O responsive.\n- Typed APIs for windows, webviews, menus, dialogs, cookies, DevTools, and window controls.\n- Shared browser contexts for profiles, cookies, cache, storage, and automation.\n- System tray icons, native notifications, and platform-specific window extensions.\n- IPC through `window.ipc.postMessage()` plus Promise-based `webview.expose()` namespaces.\n- Fetch-compatible asynchronous custom protocols, including Hono routing without an HTTP server.\n- A CLI for compiling Node.js, Deno, or Bun applications into standalone executables.\n\n> [!NOTE]\n> WebviewJS provides the native window and webview layer. It is intentionally\n> smaller than an application framework such as Electron or Tauri, so you can\n> choose your own frontend, routing, state management, and build tools.\n\n## Documentation\n\nThe complete documentation is available at [webview.js.org](https://webview.js.org). For an index designed for documentation tools and assistants, see [llms.txt](https://webview.js.org/llms.txt).\n\n### Getting started\n\n|                                                        |                                 |\n| ------------------------------------------------------ | ------------------------------- |\n| [Installation](https://webview.js.org/installation.md) | System requirements and setup   |\n| [Quick Start](https://webview.js.org/quickstart.md)    | Your first window in minutes    |\n| [Event Loop](https://webview.js.org/event-loop.md)     | How the non-blocking pump works |\n\n### API reference\n\n|                                                               |                                                       |\n| ------------------------------------------------------------- | ----------------------------------------------------- |\n| [Application](https://webview.js.org/api/application.md)      | Root object, event loop, windows, menus               |\n| [BrowserWindow](https://webview.js.org/api/browser-window.md) | OS window, size, position, cursor, decorations        |\n| [Webview](https://webview.js.org/api/webview.md)              | Embedded browser, navigation, cookies, script, bounds |\n| [WebContext](https://webview.js.org/api/web-context.md)       | Shared browser data, profiles, and automation         |\n| [System Tray](https://webview.js.org/api/tray.md)             | Tray icons, menus, updates, and pointer events        |\n| [Notification](https://webview.js.org/api/notification.md)    | Native desktop notifications and lifecycle events     |\n| [Menu](https://webview.js.org/api/menu.md)                    | Native menu bar construction                          |\n| [Types](https://webview.js.org/api/types.md)                  | Shared interfaces and enums                           |\n\n### Guides\n\n|                                                                               |                                                 |\n| ----------------------------------------------------------------------------- | ----------------------------------------------- |\n| [Building Executables](https://webview.js.org/guides/building-executables.md) | Compile to `.exe` / binary with node, deno, bun |\n| [IPC Messaging](https://webview.js.org/guides/ipc-messaging.md)               | Page ↔ Node communication                       |\n| [Menus](https://webview.js.org/guides/menus.md)                               | Building menu bars with roles and accelerators  |\n| [Multiple Windows](https://webview.js.org/guides/multiple-windows.md)         | Managing several windows                        |\n| [Cookies & Storage](https://webview.js.org/guides/cookies-and-storage.md)     | Reading, writing, and clearing cookies          |\n| [Custom Protocols](https://webview.js.org/guides/custom-protocols.md)         | Serving local content to the webview            |\n\n### Platform notes\n\n|                                                        |                                           |\n| ------------------------------------------------------ | ----------------------------------------- |\n| [Windows](https://webview.js.org/platforms/windows.md) | WebView2, taskbar, DPI                    |\n| [macOS](https://webview.js.org/platforms/macos.md)     | WebKit, main-thread requirement, app menu |\n| [Linux](https://webview.js.org/platforms/linux.md)     | WebKitGTK, Wayland/X11, menu limitations  |\n| [iOS](https://webview.js.org)                          | Orientation, status bar, and gestures     |\n| [Android](https://webview.js.org)                      | Content rectangle and configuration       |\n\n## Installation\n\nInstall the package with your preferred JavaScript package manager. The native\nplatform package is resolved automatically through optional dependencies.\n\n```bash\nnpm install @webviewjs/webview\n# or\nbun add @webviewjs/webview\n# or\npnpm add @webviewjs/webview\n```\n\nKeep optional dependencies enabled when installing. They contain the native\naddon selected for the current operating system and architecture.\n\n### System requirements\n\n| Platform        | Requirements                                                                                                |\n| --------------- | ----------------------------------------------------------------------------------------------------------- |\n| Windows         | WebView2. It ships with Windows 11 and current Edge installations; Windows 10 can install it automatically. |\n| macOS           | macOS 10.15 Catalina or later. WebKit is built in.                                                          |\n| Linux           | WebKitGTK 4.1 and `libxdo`. See the [Linux platform guide](https://webview.js.org/platforms/linux.md).      |\n| Android and iOS | Native project setup and platform SDKs. See the [hosted documentation](https://webview.js.org).             |\n\nFor distribution and platform-specific behavior, review the complete\n[installation guide](https://webview.js.org/installation.md) before shipping.\n\n## Supported platforms\n\n| Target                          | Platform | Architecture | Status       | Notes                                          |\n| ------------------------------- | -------- | ------------ | ------------ | ---------------------------------------------- |\n| `x86_64-pc-windows-msvc`        | Windows  | x64          | Supported    | WebView2                                       |\n| `i686-pc-windows-msvc`          | Windows  | x86          | Supported    | WebView2                                       |\n| `aarch64-pc-windows-msvc`       | Windows  | arm64        | Supported    | WebView2                                       |\n| `x86_64-apple-darwin`           | macOS    | x64          | Supported    | WebKit                                         |\n| `aarch64-apple-darwin`          | macOS    | arm64        | Supported    | WebKit                                         |\n| `x86_64-unknown-linux-gnu`      | Linux    | x64          | Supported    | WebKitGTK 4.1, X11, and Wayland                |\n| `i686-unknown-linux-gnu`        | Linux    | x86          | Supported    | WebKitGTK 4.1, X11, and Wayland                |\n| `aarch64-unknown-linux-gnu`     | Linux    | arm64        | Supported    | WebKitGTK 4.1, X11, and Wayland                |\n| `armv7-unknown-linux-gnueabihf` | Linux    | armv7        | Supported    | WebKitGTK 4.1, X11, and Wayland                |\n| `aarch64-linux-android`         | Android  | arm64        | Experimental | Platform APIs are still evolving               |\n| `armv7-linux-androideabi`       | Android  | armv7        | Experimental | Platform APIs are still evolving               |\n| `x86_64-unknown-freebsd`        | FreeBSD  | x64          | Stub         | Package resolution only; no GUI implementation |\n\n## Examples\n\n### Quick start\n\n```js\nimport { Application } from '@webviewjs/webview';\n\nconst app = new Application();\nconst window = app.createBrowserWindow({\n  title: 'WebviewJS',\n  width: 1024,\n  height: 768,\n});\n\nwindow.createWebview({ url: 'https://example.com' });\napp.run();\n```\n\nFor CommonJS projects, use the same API through `require()`:\n\n```js\nconst { Application } = require('@webviewjs/webview');\n\nconst app = new Application();\nconst window = app.createBrowserWindow({ title: 'WebviewJS' });\nwindow.createWebview({ html: '<h1>Hello from WebviewJS</h1>' });\napp.run();\n```\n\nThe application owns native resources created through it. Call `app.exit()`\nwhen your application needs to shut down explicitly:\n\n```js\nprocess.on('SIGINT', () => {\n  app.exit();\n});\n```\n\n### Event pumping\n\n`app.whenReady()` starts the non-blocking event pump by default:\n\n```js\nawait app.whenReady({ interval: 16, ref: true });\n```\n\nFor manual startup, disable auto-run:\n\n```js\nconst ready = app.whenReady({ autoRun: false });\napp.run({ interval: 16, ref: true });\nawait ready;\n```\n\n`interval` defaults to `16` milliseconds and `ref` defaults to `true`. Use `app.pumpEvents()` for manual pumping.\n\n### System tray\n\nKeep a strong JavaScript reference when you need to call tray methods or keep\nits listeners reachable:\n\n```js\nlet tray = null;\n\napp.whenReady().then(() => {\n  tray = app.createTrayIcon({\n    id: 'main',\n    icon: { data: rgba, width: 16, height: 16 },\n    tooltip: 'My application',\n    menu: { items: [{ id: 'quit', label: 'Quit' }] },\n  });\n\n  tray.on('click', (event) => console.log(event));\n});\n```\n\nSee the [system tray reference](https://webview.js.org/api/tray.md) and\n[runnable tray example](./examples/tray.mjs).\n\n### Notifications\n\n```js\nimport { Notification } from '@webviewjs/webview';\n\nconst notification = new Notification('Build complete', {\n  body: 'The release executable is ready.',\n});\n\nnotification.on('click', () => console.log('notification clicked'));\nnotification.on('error', ({ error }) => console.error(error));\n```\n\nNotification permission is always `\"granted\"` for native applications. See the\n[notification reference](https://webview.js.org/api/notification.md) and\n[runnable notification example](./examples/notification.mjs).\n\n### IPC and exposed functions\n\nThe webview page can send messages to Node through `window.ipc.postMessage()`:\n\n```js\nconst webview = window.createWebview({ ipcName: 'bindings' });\nwebview.onIpcMessage((message) => console.log(message.body.toString()));\n```\n\n`ipcName` adds an alias, so the page can use `window.bindings.postMessage(...)`; `window.ipc` remains available.\n\nFor typed request/response style calls, expose a namespace:\n\n```js\nwebview.expose('native', {\n  version: '0.1.4',\n  readConfig: async () => JSON.parse(await readFile('./config.json', 'utf8')),\n});\n```\n\nIn the page:\n\n```js\nconsole.log(window.native.version);\nconst config = await window.native.readConfig();\n```\n\nEvery exposed function returns a Promise in the page. Values, arguments, and results must be JSON-serializable. Violations use `SerializationError`.\n\n### Asynchronous custom protocols\n\nRegister a protocol before creating its webview:\n\n```js\nwindow.registerProtocol('app', async (request) => {\n  const filePath = join(process.cwd(), 'dist', new URL(request.url).pathname);\n  try {\n    return new Response(await readFile(filePath), {\n      headers: { 'Content-Type': 'text/html; charset=utf-8' },\n    });\n  } catch {\n    return new Response('Not found', {\n      status: 404,\n      headers: { 'Content-Type': 'text/plain; charset=utf-8' },\n    });\n  }\n});\n\nwindow.createWebview({ url: 'app://localhost/index.html' });\n```\n\nSee [Custom Protocols](https://webview.js.org/guides/custom-protocols.md), [IPC](https://webview.js.org/guides/ipc-messaging.md), and the runnable [custom protocol](examples/custom-protocol.mjs) and [expose](examples/expose.mjs) examples.\n\n### Menu system\n\nWebviewJS provides a cross-platform menu system that works on macOS, Windows, and Linux.\n\n#### Basic menu setup\n\n```js\nimport { Application } from '@webviewjs/webview';\n\nconst app = new Application();\n\n// Set global application menu\napp.setMenu({\n  items: [\n    {\n      label: 'File',\n      submenu: {\n        items: [\n          { id: 'new', label: 'New', accelerator: 'CmdOrCtrl+N' },\n          { id: 'open', label: 'Open', accelerator: 'CmdOrCtrl+O' },\n          { role: 'separator' },\n          { id: 'quit', label: 'Quit', accelerator: 'CmdOrCtrl+Q' },\n        ],\n      },\n    },\n    {\n      label: 'Edit',\n      submenu: {\n        items: [{ role: 'copy' }, { role: 'paste' }, { role: 'cut' }, { role: 'selectall' }],\n      },\n    },\n  ],\n});\n\nconst window = app.createBrowserWindow();\nconst webview = window.createWebview({ url: 'https://nodejs.org' });\n\napp.run();\n```\n\n#### Menu event handling\n\n```js\nimport { Application } from '@webviewjs/webview';\n\nconst app = new Application();\n\n// Handle menu events\napp.on('custom-menu-click', ({ customMenuEvent: menuEvent }) => {\n  console.log(`Menu item clicked: ${menuEvent.id}`);\n  console.log(`From window: ${menuEvent.windowId}`);\n\n  // Handle specific menu items\n  switch (menuEvent.id) {\n    case 'new':\n      console.log('Creating new document...');\n      break;\n    case 'open':\n      console.log('Opening file...');\n      break;\n    case 'quit':\n      app.exit();\n      break;\n  }\n});\n\n// Set up menu...\napp.setMenu({/* ... */});\n```\n\n#### Window-specific menus\n\n```js\nconst app = new Application();\n\n// Create window with custom menu\nconst window = app.createBrowserWindow({\n  title: 'Custom Window',\n  menu: {\n    items: [\n      {\n        id: 'window-action',\n        label: 'Window Action',\n        accelerator: 'Ctrl+W',\n      },\n    ],\n  },\n});\n\n// Or check if window has a menu\nif (window.hasMenu()) {\n  console.log('This window has a menu');\n}\n```\n\n#### Menu item options\n\n- **`id`**: Unique identifier for the menu item (used in events)\n- **`label`**: Display text for the menu item\n- **`enabled`**: Whether the item is clickable (default: true)\n- **`accelerator`**: Keyboard shortcut (e.g., \"CmdOrCtrl+N\", \"Alt+F4\")\n- **`submenu`**: Nested menu items\n- **`role`**: Predefined menu items with built-in behavior\n\n#### Predefined menu roles\n\n- **`\"copy\"`**: Standard copy action\n- **`\"paste\"`**: Standard paste action\n- **`\"cut\"`**: Standard cut action\n- **`\"selectall\"`**: Select all text action\n- **`\"separator\"`**: Visual separator line\n\n### IPC\n\n```js\nconst app = new Application();\nconst window = app.createBrowserWindow();\n\nconst webview = window.createWebview({\n  html: `<!DOCTYPE html>\n    <html>\n        <head>\n            <title>Webview</title>\n        </head>\n        <body>\n            <h1 id=\"output\">Hello world!</h1>\n            <button id=\"btn\">Click me!</button>\n            <script>\n                btn.onclick = function send() {\n                    window.ipc.postMessage('Hello from webview');\n                }\n            </script>\n        </body>\n    </html>\n    `,\n  preload: `window.onIpcMessage = function(data) {\n        const output = document.getElementById('output');\n        output.innerText = \\`Server Sent A Message: \\${data}\\`;\n    }`,\n});\n\nif (!webview.isDevtoolsOpen()) webview.openDevtools();\n\nwebview.onIpcMessage((data) => {\n  const reply = `You sent ${data.body.toString('utf-8')}`;\n  webview.evaluateScript(`onIpcMessage(\"${reply}\")`);\n});\n\napp.run();\n```\n\n### Closing the application\n\nYou can close the application, windows, and webviews gracefully to ensure all resources (including temporary folders) are cleaned up properly.\n\n```js\nconst app = new Application();\nconst window = app.createBrowserWindow();\nconst webview = window.createWebview({ url: 'https://nodejs.org' });\n\napp.on('application-close-requested', () => {\n  console.log('Application is closing, cleaning up resources...');\n});\n\napp.on('window-close-requested', () => {\n  console.log('Window close requested');\n});\n\n// Close the application gracefully (cleans up temp folders)\napp.exit();\n\n// Or hide/show the window\nwindow.hide(); // Hide the window\nwindow.show(); // Show the window again\n\n// Or reload the webview\nwebview.reload();\n```\n\nFor more details on application lifecycle and disposal, see the\n[Application API reference](https://webview.js.org/api/application.md) and the\n[closing example](./examples/close-example.mjs).\n\n### Keep strong references\n\nRetain `BrowserWindow`, `Webview`, `WebContext`, and `TrayIcon` wrappers for as\nlong as you need to call their methods or retain their JavaScript listeners.\nAvoid discarded temporary handles:\n\n```js\nconst windows = [];\n\napp.whenReady().then(() => {\n  const window = app.createBrowserWindow();\n  const webview = window.createWebview({ url: 'https://example.com' });\n  windows.push({ window, webview });\n});\n```\n\nThe root `Application` owns native resources created through it. `app.exit()`,\n`app[Symbol.dispose]()`, and application garbage collection dispose those\nresources in shutdown order. Retained wrappers then report `isDisposed() ===\ntrue`, and method calls fail with a disposed error. Individual windows,\nwebviews, contexts, and tray icons also support `dispose()` and\n`Symbol.dispose`.\n\nCheck out [examples](./examples) directory for more examples:\n\n- **[menu-system.mjs](./examples/menu-system.mjs)** - Comprehensive menu system demonstration with all features\n- **[window-menus.mjs](./examples/window-menus.mjs)** - Window-specific vs global menu examples\n- **[http/](./examples/http/)** - Serving content from a web server to webview\n- **[transparent.mjs](./examples/transparent.mjs)** - Transparent window example\n- **[close-example.mjs](./examples/close-example.mjs)** - Graceful application closing\n\nRun any example with: `node examples/menu-system.mjs` (after building the project)\n\n## Building executables\n\nThe `webview` CLI creates a standalone executable by delegating to the\nselected runtime's compiler:\n\n- Node.js uses Node's Single Executable Application (SEA) workflow.\n- Deno uses `deno compile`.\n- Bun uses `bun build --compile`.\n\nIt is not a desktop application installer builder, package manager, or full\napplication bundler. It does not create platform installers or perform\ncross-compilation. The WebviewJS `.node` addon is platform-specific, so build\non the target operating system and architecture, or prepare the matching\nnative addon and runtime toolchain manually before packaging. Use platform\ndistribution tools alongside this CLI for installers, release metadata,\nsigning, and notarization.\n\n> [!NOTE]\n> The CLI is evolving. Review the runtime and platform requirements before\n> distributing an executable.\n\nThe `webview` CLI compiles your app into a single self-contained executable. The runtime is auto-detected (`Bun` → bun, `Deno` → deno, otherwise Node.js), or you can override it:\n\n```bash\n# Auto-detected runtime\nwebview --build --input ./path/to/your/script.js --output ./dist --name my-app\n\n# Explicit runtime\nwebview --build --runtime node --input ./src/index.js --name my-app\nwebview --build --runtime deno --input ./src/index.ts --name my-app\nwebview --build --runtime bun  --input ./src/index.ts --name my-app\n```\n\n| Flag                 | Default       | Description                   |\n| -------------------- | ------------- | ----------------------------- |\n| `--runtime` / `-R`   | auto-detected | `node`, `deno`, or `bun`      |\n| `--input` / `-i`     | `./index.js`  | Entry file                    |\n| `--output` / `-o`    | `./dist`      | Output directory              |\n| `--name` / `-n`      | `webviewjs`   | Executable name               |\n| `--resources` / `-r` | none          | JSON asset map (Node.js only) |\n\nFor runtime-specific details, asset embedding, code signing, and release\nguidance, see [Building Executables](https://webview.js.org/guides/building-executables.md).\n\n## Agent skill\n\nThis repository includes a reusable WebviewJS skill for coding agents. Install\nit with:\n\n```bash\nnpx skills add webviewjs/webview\n```\n\nIt covers application structure, native prerequisites, platform constraints,\nAPI patterns, and executable builds.\n\n## Development\n\n### Prerequisites\n\n- [Bun](https://bun.sh/) >= 1.3.0\n- [Rust](https://www.rust-lang.org/) stable toolchain\n- [Node.js](https://nodejs.org/) >= 24 (for testing)\n\n### Setup\n\n```bash\nbun install\n```\n\n### Build\n\n```bash\nbun run build\n```\n","readmeFilename":"README.md"}