Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

594 B
Raw Blame
interface nodejs {
    /// Returns the path to the Node binary used by Zed.
    node-binary-path: func() -> result<string, string>;

    /// Returns the latest version of the given NPM package.
    npm-package-latest-version: func(package-name: string) -> result<string, string>;

    /// Returns the installed version of the given NPM package, if it exists.
    npm-package-installed-version: func(package-name: string) -> result<option<string>, string>;

    /// Installs the specified NPM package.
    npm-install-package: func(package-name: string, version: string) -> result<_, string>;
}