0.1.7 • Published 8 months ago

@dreamystify/fingrprint v0.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Getting started

Prerequisites

  • Node.js v14+
  • Redis v6+

Installation

npm install @dreamystify/fingrprint

To build the package locally with the TypeScript compiler, run:

npm run compile

Usage

import Fingrprint from '@dreamystify/fingrprint';

const fingrprint = new Fingrprint({
    host: `localhost`,
    port: 6379,
    username: `username`,
    password: `password`
});

And to use it,

const id = await fingrprint.getId();
// 6936951099534350941n

const ids = await fingrprint.getIds(); // defaults to 1
// [6936951099534350941n]

const ids = await fingrprint.getIds(3);
// [6936951099534350941n, 6936951099534350942n, 6936951099534350943n]

Kudos

The project was inspired by Icicle, just setup for node.js.

0.1.7

8 months ago

0.1.6

8 months ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago