Fork of daniellemaywood.uk/gleam — Wasm codegen work
2

Configure Feed

Select the types of activity you want to include in your feed.

gleam / compiler-core / wit / zed_extension / 0.7.0 / nodejs.wit
594 B 13 lines
1interface nodejs { 2 /// Returns the path to the Node binary used by Zed. 3 node-binary-path: func() -> result<string, string>; 4 5 /// Returns the latest version of the given NPM package. 6 npm-package-latest-version: func(package-name: string) -> result<string, string>; 7 8 /// Returns the installed version of the given NPM package, if it exists. 9 npm-package-installed-version: func(package-name: string) -> result<option<string>, string>; 10 11 /// Installs the specified NPM package. 12 npm-install-package: func(package-name: string, version: string) -> result<_, string>; 13}