2.0.6 • Published 5 years ago

clortho-lite v2.0.6

Weekly downloads
8
License
ISC
Repository
github
Last release
5 years ago

alt Vinz Clortho

Clortho-Lite

Let's give credit where it is due. This package is derived from: https://github.com/zetlen/clortho

The reason that I rewrote it was because it came shipped with some UX elements that I didn't want. It hadn't been updated in a while. And I like dealing with TypeScript better, so I decided to convert it.

Basic Usage

const clortho = require('clortho-lite').clortho;

let service = clortho('Whatever Name of Your Service');

service.set('some-user-name', 'some-password')
    .then(function (credentials) {
        console.log(credentials);
    })
    .catch(function (err) {
        console.log(err);
    });

service.get('some-user-name')
    .then(function (credentials) {
        console.log(credentials);
    })
    .catch(function (err) {
        console.log(err);
    });

That's about it.

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago