typescript

package
v0.0.0-...-347b0aa Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderDTS

func RenderDTS(resp *scrape.APIResponse, dir string) error

func RenderJsDoc

func RenderJsDoc(resp *scrape.APIResponse, dir string) error

func ToFieldTypes

func ToFieldTypes(field *scrape.Field) string

func UnionsTypes

func UnionsTypes(types []string) string

Types

type Package

type Package struct {
	Name        string   `json:"name"`
	Version     string   `json:"version"`
	Description string   `json:"description"`
	Repository  string   `json:"repository"`
	Type        string   `json:"type"`
	Author      string   `json:"author"`
	License     string   `json:"license"`
	Types       string   `json:"types,omitempty"`
	Main        string   `json:"main,omitempty"`
	Module      string   `json:"module,omitempty"`
	Files       []string `json:"files,omitempty"`
}

func NewPackage

func NewPackage(name, version string) *Package

Jump to

Keyboard shortcuts

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