idchunk 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +25 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # ⚡ idchunk — A Tiny, Fast & Customizable ID Generator
2
+
3
+ [![npm version](https://img.shields.io/npm/v/idchunk.svg)](https://www.npmjs.com/package/idchunk)
4
+ [![downloads](https://img.shields.io/npm/dt/idchunk.svg)](https://www.npmjs.com/package/idchunk)
5
+ [![license](https://img.shields.io/npm/l/idchunk.svg)](https://github.com/garvthakral/idchunk/blob/main/LICENSE)
6
+
7
+ > Generate short, unique, and customizable IDs for your applications in milliseconds.
8
+
9
+ ---
10
+
11
+ ## Installation & Usage
12
+
13
+ ```bash
14
+ npm install idchunk
15
+ ```
16
+
17
+ By default the random generate id length is 10
18
+
19
+ ```
20
+ const idchunk = require("idchunk");
21
+
22
+ console.log(idchunk());
23
+ ```
24
+
25
+ And you can pass the value as the arguement to the idchunk(length) in number to generate the id
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "idchunk",
3
- "version": "1.0.0",
4
- "description": "A tiny, fast and customizable ID generator like NanoID.",
3
+ "version": "1.0.1",
4
+ "description": "A tiny, fast and customizable ID generator ",
5
5
  "main": "src/index.js",
6
6
  "keywords": [
7
7
  "id",