3.0.17 • Published 1 month ago

@emartech/me-idempotency v3.0.17

Weekly downloads
78
License
UNLICENSED
Repository
github
Last release
1 month 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.17

1 month ago

3.0.16

2 months ago

3.0.15

3 months ago

3.0.14

3 months ago

3.0.13

3 months ago

3.0.12

4 months ago

3.0.11

4 months ago

3.0.10

6 months ago

3.0.4

6 months ago

3.0.3

7 months ago

3.0.2

7 months ago

3.0.1

7 months ago

3.0.8

6 months ago

3.0.7

6 months ago

3.0.6

6 months ago

3.0.5

6 months ago

3.0.0

7 months ago

2.0.3

9 months ago

2.0.5

7 months ago

2.0.4

7 months ago

3.0.9

6 months ago

2.0.2

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.1.0

7 years ago

1.0.0

7 years ago