Quark #

Modules #

Quark v1.4.0 Documentation

Contents

quark/storage #

The value set here will still exist after exiting the program, which is suitable for fast access to small-capacity data.

get(key) #

Getting a local value by key

get(key: string): any

set(key,value) #

Setting a local value by key

set(key: string, value: any)

remove(key) #

Deleting a local value by key

remove(key: string)

clear() #

Deleting all of storage values

clear()