0.1.1 • Published 3 years ago

@paggo/client v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

paggo-client-ts

A TypeScript client library for paggo.

Installation

npm i @paggo/client

Example Usage

import { Client } from '@paggo/client';

(async () => {
    const client = new Client();

    await client.connect();

    await client.set('test', 'test');

    const exists = await client.exists('test');

    if (exists) {
        const data = await client.get('test');

        console.log(data.toString());
    }

    await client.delete('test');

    client.close();
})();

License

MIT

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago