npm

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2026 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Listener

type Listener struct {
	// contains filtered or unexported fields
}

func New

func New() *Listener

func (*Listener) Diff

func (l *Listener) Diff() listeners.Diff

func (*Listener) LogEvent

func (l *Listener) LogEvent(event listeners.Event) error

func (*Listener) Name

func (l *Listener) Name() string

func (*Listener) WatchedFiles

func (l *Listener) WatchedFiles() []string

type PackageFile

type PackageFile struct {
	Path           string
	InitialContent []byte
	LatestContent  []byte
}

func (*PackageFile) Diff

func (p *PackageFile) Diff() *deps.FileDiff

type PackageJSON

type PackageJSON struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Description string `json:"description"`
	// Main            string            `json:"main"`
	// Type            string            `json:"type"`
	// Keywords        []string          `json:"keywords"`
	// Author          string            `json:"author"`
	// License         string            `json:"license"`
	// Homepage        string            `json:"homepage"`
	// Scripts         map[string]string `json:"scripts"`
	Dependencies map[string]string `json:"dependencies"`
}

func (*PackageJSON) ToDeps

func (p *PackageJSON) ToDeps() deps.Dependencies

Jump to

Keyboard shortcuts

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