0.1.1 • Published 2 years ago

@paggo/client v0.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 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

2 years ago

0.1.0

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago