0.0.4 • Published 4 years ago

dirz v0.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Classes

Members

Dirz : Dirz

Kind: global class

dirz.get(key, defaultValue) ⇒ *

gets value for the key.

Kind: instance method of Dirz

ParamTypeDefaultDescription
keystring
defaultValuenumber | string | booleanoptional. returns this value if the key has not been set.

dirz.set(key, value, type)

sets the value with the desired type, if specified. bool type is converted to bool so that passing "false" will equal false

Kind: instance method of Dirz

ParamTypeDescription
keystring
valuenumber | string | boolean
typestringallowed types are string int/integer float bool/boolean

dirz.remove(key)

removes the key from the store

Kind: instance method of Dirz

ParamType
keystring

id : string

Kind: global variable

0.0.3

4 years ago

0.0.4

4 years ago

0.0.2

4 years ago

0.0.1

5 years ago