3.0.18 • Published 11 months ago

@emartech/me-idempotency v3.0.18

Weekly downloads
78
License
UNLICENSED
Repository
github
Last release
11 months ago

@emartech/me-idempotency

Small library for idempotency

Install

npm install --save @emartech/me-idempotency

Example

const { createClient } = require('redis')
const { createRedisIdempotency, defaultIdempotencyKeyGenerator } = require('@emartech/me-idempotency')

const Idempotency = createRedisIdempotency(createClient()) 
const key = defaultIdempotencyKeyGenerator(customerId, runId, pushToken) 
const result = Idempotency.set(key)
if (result) console.log('Idemp ok')
3.0.18

11 months ago

3.0.17

1 year ago

3.0.16

1 year ago

3.0.15

1 year ago

3.0.14

1 year ago

3.0.13

1 year ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.10

2 years ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.8

2 years ago

3.0.7

2 years ago

3.0.6

2 years ago

3.0.5

2 years ago

3.0.0

2 years ago

2.0.3

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

3.0.9

2 years ago

2.0.2

4 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.3.1

5 years ago

1.3.0

5 years ago

1.1.0

8 years ago

1.0.0

8 years ago