Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aricart committed May 23, 2024
1 parent f3dfec3 commit 99fc40f
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ A highly performant unique identifier generator.

## Installation

Use the `npm` command:

$ npm install nuid

## Basic Usage

Import the library for node/bun:

```bash
Expand All @@ -27,6 +21,8 @@ For web and deno you can also:
npx jsr add @nats-io/nuid
```

## Basic Usage

Reference the library in your code. If using you can `import` or `require` the
npm nuid library supports both Common JS and ESM:

Expand Down Expand Up @@ -66,7 +62,7 @@ Total length of a NUID string is 22 bytes of base 36 ascii text, so 36^22 or

## Migration

The 2.x version of the npm module support both CJS and ESM modules, an EMS only
The 2.x version of the npm module support both CJS and ESM modules, an ESM only
version of the module is available via
[jsr @nats-io/nuid](https://jsr.io/@nats-io/nuid)

Expand Down

0 comments on commit 99fc40f

Please sign in to comment.