package
0.3.4
Repository: https://github.com/jan-xyz/dotfiles.git
Documentation: pkg.go.dev

# README

npm

import "github.com/jan-xyz/dotfiles/internal/plugins/npm"

Package npm to install npm packages globally

Index

type Plugin

Plugin holds the information for all needed Plugin packages.

type Plugin struct {
    Packages  []string
    Commander dotfiles.Commander
}

func (Plugin) Add

func (b Plugin) Add(packages []string) error

Add takes a list of packages for installation.

func (Plugin) GetMissingPackages

func (b Plugin) GetMissingPackages() ([]string, error)

GetMissingPackages returns a list of packages which are configured but not installed.

func (Plugin) Update

func (b Plugin) Update() error

Update is currently not implemented.

Generated by gomarkdoc

# Structs

Plugin holds the information for all needed Plugin packages.