UNPKG

dev-unique-id

Version:
65 lines (47 loc) 2.09 kB
Very usefull UUID generator with lot's of functionality [![npm](https://img.shields.io/npm/v/dev-unique-id?style=flat-square&logo=npm)](https://www.npmjs.com/package/dev-unique-id) [![npm](https://img.shields.io/npm/l/dev-unique-id?style=flat-square&logo=npm)](https://github.com/devlopersabbir/dev-unique-id/blob/main/LICENSE) [![GitHub issues](https://img.shields.io/github/issues/devlopersabbir/dev-unique-id?style=flat-square&logo=github)](https://github.com/devlopersabbir/dev-unique-id/issues) [![GitHub stars](https://img.shields.io/github/stars/devlopersabbir/dev-unique-id?style=flat-square&logo=github)](https://github.com/devlopersabbir/dev-unique-id/stargazers) [![npm](https://img.shields.io/npm/dt/dev-unique-id?style=flat-square&logo=npm)](https://www.npmjs.com/package/dev-unique-id) #### Installing ```console pnpm add dev-unique-id ``` or ```console npm i dev-unique-id --save ``` ### Use Example ```js import { uniqueID } from "dev-unique-id"; // or const { uniqueID } = require("dev-unique-id"); console.log(uniqueID()); // you can also pass length of id // here is an example of pass length console.log(uniqueID(5)); ``` #### Author This package was created by [Sabbir Hossain Shuvo](https://www.showwcase.com/devlopersabbir). And the GitHub profile is [https://github.com/devlopersabbir](https://github.com/devlopersabbir). #### LICENSE MIT For support just [Buy Me A Coffee](https://www.buymeacoffee.com/devlopersabbir) [https://www.buymeacoffee.com/devlopersabbir](https://www.buymeacoffee.com/devlopersabbir) ### 🔧 Contributing Since this package is fully open-source so, if you would like to contribute to this project, please follow these steps: 1. Fork this repository. 2. Clone your forked repository: - Install all dependence ```console pnpm install ``` 3. Make your changes: - Test user changes (**required**) - Commit them as your changes 4. Push them to your forked repository: 5. Create a pull request on this repository. **I will be happy to marge**