Help us shape the future of Go! Take the 2026 Go Developer Survey

npm

package
v0.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package npm downloads pinned npm packages into the user cache: the TypeScript checker and the runtime the TypeScript library imports.

Index

Constants

View Source
const TsgoVersion = "7.0.0-dev.20260707.2"

TsgoVersion is the TypeScript native preview that checks script mods and declares the library.

Variables

This section is empty.

Functions

func Package

func Package(ctx context.Context, name, version string) (string, error)

Package returns the directory holding the npm package name at version, downloading it from the registry into the user cache the first time.

func Tsgo

func Tsgo(ctx context.Context) (string, error)

Tsgo returns the TypeScript checker for this system.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL