npm

package module
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: MIT Imports: 17 Imported by: 1

README

NPM

Go Reference

Simple NPM client for installing node_modules.

Features

  • Makes direct HTTPS calls to the NPM registry
  • You don't need NPM installed
  • Less logging

Install

go get github.com/livebud/npm

Example

npm.Install(ctx, dir, "react@18.2.0", "react-dom@18.2.0")

Contributors

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(ctx context.Context, dir string, packages ...string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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