Reference
Classes
XDG
Defined in: index.ts:76
Constructors
new XDG()
new XDG(name): XDGDefined in: index.ts:85
Parameters
| Parameter | Type |
|---|---|
name | string |
Returns
Properties
| Property | Type |
|---|---|
base | object |
base.cache | string |
base.config | string |
base.data | string |
base.runtime | string |
base.state | string |
name | string |
Methods
cache()
cache(p): stringDefined in: index.ts:91
Parameters
| Parameter | Type | Default value |
|---|---|---|
p | string | '' |
Returns
string
config()
config(p): stringDefined in: index.ts:88
Parameters
| Parameter | Type | Default value |
|---|---|---|
p | string | '' |
Returns
string
data()
data(p): stringDefined in: index.ts:94
Parameters
| Parameter | Type | Default value |
|---|---|---|
p | string | '' |
Returns
string
runtime()
runtime(p): stringDefined in: index.ts:100
Parameters
| Parameter | Type | Default value |
|---|---|---|
p | string | '' |
Returns
string
state()
state(p): stringDefined in: index.ts:97
Parameters
| Parameter | Type | Default value |
|---|---|---|
p | string | '' |
Returns
string
Type Aliases
PathType
type PathType = "cache" | "config" | "data" | "runtime" | "state";Defined in: index.ts:7