Skip to main content
Module

x/conf/mod.ts>default

Simple config handling for your app or module with Deno.
Latest
class default
import { default } from "https://deno.land/x/conf@v0.1.0/mod.ts";

Constructors

new
default(options: ConfigParameters)

Properties

private
_options: ConfigParameters
defaultValues: Record<string, any>
deserialize: Function
encryptionKey: ConfigParameters["encryptionKey"]
readonly
options
path: string
serialize: Function
readonly
size
store

Methods

private
_containsReservedKey(key: string)
private
_write(value: string)
delete(key: string)
get(key: string, defaultValue?: any)
has(key: string)
reset(...keys: string[])
set(key: string, value: any)