[go: up one dir, main page]

Skip to content

floticerus/dirz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Classes

Dirz : Dirz

Members

id : string

Dirz : Dirz

Kind: global class

dirz.get(key, [defaultValue]) ⇒ *

gets value for the key.

Kind: instance method of Dirz

Param Type Default Description
key string
[defaultValue] number | string | boolean optional. 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

Param Type Description
key string
value number | string | boolean
[type] string allowed types are string int/integer float bool/boolean

dirz.remove(key)

removes the key from the store

Kind: instance method of Dirz

Param Type
key string

id : string

Kind: global variable

About

key>value store for javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published