You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP →
Socket
Book a DemoSign in
Socket

@xylabs/storage

Package Overview
Dependencies
Maintainers
5
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/storage

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

Source
npmnpm
Version
5.0.78
Version published
Weekly downloads
1.5K
-66.85%
Maintainers
5
Weekly downloads
Ā 
Created
Source

@xylabs/storage

logo

main-build npm-badge npm-downloads-badge jsdelivr-badge npm-license-badge codacy-badge codeclimate-badge snyk-badge socket-badge

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

Reference

@xylabs/storage

Interfaces

interfaces

KeyValueStore

@xylabs/storage

A read/write storage device.

Extends

Type Parameters

TValue

TValue

TKey

TKey = string

Methods

get()

get(key): Promisable<undefined | TValue>;

Returns a promise that resolves to the value for the given key.

Parameters

key

TKey

The key to get the value for.

Returns

Promisable<undefined | TValue>

Inherited from

ReadonlyKeyValueStore.get

keys()?

optional keys(): Promisable<TKey[]>;

The keys an array of keys.

Returns

Promisable<TKey[]>

Inherited from

ReadonlyKeyValueStore.keys

clear()?

optional clear(): Promisable<void>;

Returns

Promisable<void>

delete()

delete(key): Promisable<void>;

Parameters

key

TKey

Returns

Promisable<void>

set()

set(key, value): Promisable<void>;

Parameters

key

TKey

value

TValue

Returns

Promisable<void>

ReadonlyKeyValueStore

@xylabs/storage

A readonly storage device.

Extended by

Type Parameters

TValue

TValue

TKey

TKey = string

Methods

get()

get(key): Promisable<undefined | TValue>;

Returns a promise that resolves to the value for the given key.

Parameters

key

TKey

The key to get the value for.

Returns

Promisable<undefined | TValue>

keys()?

optional keys(): Promisable<TKey[]>;

The keys an array of keys.

Returns

Promisable<TKey[]>

Part of sdk-js

Maintainers

License

See the LICENSE file for license details

Credits

Made with šŸ”„ and ā„ļø by XYLabs

Keywords

hex

FAQs

Package last updated on 10 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts