1.0.1 • Published 1 year ago

@ketch-com/oid-js v1.0.1

Weekly downloads
51
License
MIT
Repository
github
Last release
1 year ago

oid

Ketch Object ID library in TypeScript.

Example OID's:

2GUTcoh54LjIgVmziQ5812
2GUTiLeCNBq6uBhavno132
2GUToEhtDHr8qBMLay1KPV

Installation

npm install -D @ketch-com/oid-js

Usage

NewOID

To create a new OID, use newOID:

const o = newOID()

toString()

To get the string representation of an existing OID, use o.toString():

const s = o.toString()

toBytes()

To get the byte array representation of an existing OID, use o.toBytes():

const b = o.toBytes()
1.0.1

1 year ago

1.0.0

1 year ago

0.3.11

2 years ago

0.3.10

2 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago