Skip to content

Modules | @vltpkg/xdg

Classes

XDG

Constructors

new XDG()
new XDG(name): XDG
Parameters

name: string

Returns

XDG

Defined in

index.ts:89

Properties

base
base: object
cache
cache: string
config
config: string
data
data: string
runtime
runtime: string
state
state: string
Defined in

index.ts:82

name
name: string
Defined in

index.ts:81

Methods

cache()
cache(p): string
Parameters

p: string = ''

Returns

string

Defined in

index.ts:95

config()
config(p): string
Parameters

p: string = ''

Returns

string

Defined in

index.ts:92

data()
data(p): string
Parameters

p: string = ''

Returns

string

Defined in

index.ts:98

runtime()
runtime(p): string
Parameters

p: string = ''

Returns

string

Defined in

index.ts:104

state()
state(p): string
Parameters

p: string = ''

Returns

string

Defined in

index.ts:101

Type Aliases

PathType

type PathType:
| "cache"
| "config"
| "data"
| "runtime"
| "state";

Defined in

index.ts:7