Detalhes do pacote

ids

bpmn-io445.9kMIT1.0.5

Simple id generation and caching

id, ids, id-generator

readme (leia-me)

ids

Build Status

A simple caching id generation utility.

Usage

import Ids from 'ids';

const ids = new Ids();

const next = ids.next(); // returns id

ids.claim('f71a81'); // claim id as already existing

ids.assigned('f71a81'); // true if id was already generated / claimed

Get the library

Fetch it via npm:

npm install --save ids

License

Use under the terms of the MIT license.

changelog (log de mudanças)

Changelog

All notable changes to ids are documented here. We use semantic versioning for releases.

Unreleased

_Note: Yet to be released changes appear here._

1.0.5

Republish of v1.0.4 with dist folder.

1.0.4

Revert to v1.0.0 to avoid breaking changes in patch.

1.0.3

Revert v1.0.2.

1.0.2

  • FIX: correct default export type definition

1.0.1

  • FIX: mark as module

1.0.0

  • CHORE: migrate to ES modules
  • CHORE: expose ESM, CJS and UMD build
  • CHORE: do not publish dev assets

0.2.2

  • FIX: correctly export TypeScript definitions as CJS

0.2.1

  • CHORE: add Typescript definitions

...

Check git log for earlier history.