Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gauntlet/imports/happy_dom.ts>Storage

Work-in-progress front-end tool which does put a smile on my face
Latest
class Storage
Re-export
import { Storage } from "https://deno.land/x/gauntlet@v0.0.9/imports/happy_dom.ts";

Properties

private
_store
readonly
length: number

Returns length.

Methods

clear(): void

Clears storage.

getItem(name: string): string

Returns item.

key(index: number): string

Returns name of the nth key.

removeItem(name: string): void

Removes item.

setItem(name: string, item: string): void

Sets item.