{"id":19478948,"url":"https://github.com/ankansaha/uniquegen","last_synced_at":"2025-04-25T15:30:59.475Z","repository":{"id":173142470,"uuid":"642444901","full_name":"AnkanSaha/uniquegen","owner":"AnkanSaha","description":" UniqueGen is an open-source package for Node.js projects, enabling the generation of random numbers and words. It offers flexibility and ease of use, making it a valuable tool for developers.","archived":false,"fork":false,"pushed_at":"2025-04-06T09:29:27.000Z","size":224,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T11:51:58.714Z","etag":null,"topics":["generator","ghdesktop","github-codespaces","gitkraken","gitlens","jetbrains","learn","microsoft","mongodb","random","student-vscode","uuid"],"latest_commit_sha":null,"homepage":"https://npmjs.com/package/uniquegen","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnkanSaha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"AnkanSaha","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-05-18T15:23:44.000Z","updated_at":"2025-04-06T09:29:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f987d58-40a7-4f9b-8e2e-4a39872bc7b8","html_url":"https://github.com/AnkanSaha/uniquegen","commit_stats":null,"previous_names":["ankansaha/uniquegen"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkanSaha%2Funiquegen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkanSaha%2Funiquegen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkanSaha%2Funiquegen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnkanSaha%2Funiquegen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnkanSaha","download_url":"https://codeload.github.com/AnkanSaha/uniquegen/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250844237,"owners_count":21496528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["generator","ghdesktop","github-codespaces","gitkraken","gitlens","jetbrains","learn","microsoft","mongodb","random","student-vscode","uuid"],"created_at":"2024-11-10T19:52:09.913Z","updated_at":"2025-04-25T15:30:59.218Z","avatar_url":"https://github.com/AnkanSaha.png","language":"TypeScript","funding_links":["https://github.com/sponsors/AnkanSaha","https://paypal.me/ANKAN2003"],"categories":[],"sub_categories":[],"readme":"# UniqueGen\n\nUniqueGen is an package for Node.js, It enables generating random numbers, alphanumeric and has a range of IDs.It offers flexibility and ease of use, making it a valuable tool for developers.\n\n[![install size](https://packagephobia.com/badge?p=uniquegen)](https://packagephobia.com/result?p=uniquegen)\n[![npm version](https://badge.fury.io/js/uniquegen.svg)](https://badge.fury.io/js/uniquegen)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![npm downloads](https://img.shields.io/npm/dt/uniquegen.svg?style=flat-square)](https://www.npmjs.com/package/uniquegen)\n[![CodeQL](https://github.com/AnkanSaha/uniquegen/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/AnkanSaha/uniquegen/actions/workflows/github-code-scanning/codeql)\n[![CircleCI](https://dl.circleci.com/status-badge/img/gh/AnkanSaha/uniquegen/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/AnkanSaha/uniquegen/tree/main)\n\n# Features\n\n-   Generate random numbers\n-   Generate random words\n-   Generate random symbols\n-   Generate random mixed IDs\n\n# Security\n\nUniqueGen is a secure package. It does not store any data on its server. All the data is generated on the user's system. It does not use any third-party API to generate data. It is a completely offline package.\n\n# Getting Started\n\nTo get started with UniqueGen, you must first install it in your project. You can install UniqueGen using npm or yarn. We recommend using npm.\n\n## Installation\n\nTo install UniqueGen, simply run the following command in your terminal:\n\n```bash\nnpm install uniquegen@latest --save\n```\n\n## Usage\n\nTo use UniqueGen, you must first import it into your project:\n\n```javascript\nconst UniqueGen = require('uniquegen'); // if you are using CommonJS\nor;\nimport UniqueGen from 'uniquegen'; // if you are using ES6\n```\n\n# Usage in CommonJS\n\n```javascript first paramenter is the  length of ID you want to generate\nconst UniqueGen = require('uniquegen'); // if you are using CommonJS\nor\nimport UniqueGen from 'uniquegen'; // if you are using ES6\n\nconst Number = UniqueGen.randomNumber( 10, true)\nconsole.log(Number);\n    output: 1234567890; // it will generate a random number of length 10 with zero in  way\n\nconst Number = UniqueGen.randomNumber( 10, false)\nconsole.log(Number);\n    output: 0123456789; // it will generate a random number of length 10 without zero in  way\n\nconst Word = UniqueGen.randomWord( 10, true)\nconsole.log(Word);\n    output: ABCDEFGHIJ; // it will generate a random word of length 10 with all alphabets in caps in  way\n\nconst Word = UniqueGen.randomWord( 10, false)\nconsole.log(Word);\n    output: abcdefghij; // it will generate a random word of length 10 with all alphabets in small in  way\n\nconst Symbol = UniqueGen.randomSymbol( 10)\nconsole.log(Symbol);\n    output: !@#$%^\u0026***; // it will generate a random symbol of length 10 with all symbols in  way\n\nconst Mixed = UniqueGen.randomMixed( 10, false)\nconsole.log(Mixed);\n    output: abc#$%^\u0026**; // it will generate a random mixed ID of length 10 with all alphabets in small in  way\n\nconst Mixed = UniqueGen.randomMixed( 10, true)\nconsole.log(Mixed);\n    output: ABC#$%^\u0026**; // it will generate a random mixed ID of length 10 with all alphabets in caps in  way\n\n```\n\n# Usage in ES6 way\n\n```javascript first paramenter is the  length of ID you want to generate\n\nconst UniqueGen = require('uniquegen'); // if you are using CommonJS\nor\nimport UniqueGen from 'uniquegen'; // if you are using ES6\n\nconst randomNumber = () =\u003e {\n    const data = UniqueGen.randomNumber(10, true);\n    console.log(data);\n    output: 1234567899\n}\nrandomNumber(); // it will generate a random number of length 10 with zero in asynchronous way\n\nconst randomNumber = () =\u003e {\n    const data = UniqueGen.randomNumber(10, false);\n    console.log(data);\n    output: 0123456789\n}\nrandomNumber(); // it will generate a random number of length 10 without zero in asynchronous way\n\nconst randomWord = () =\u003e {\n    const data = UniqueGen.randomWord(10, true);\n    console.log(data);\n    output: ABCDEFGHIJ\n}\nrandomWord(); // it will generate a random word of length 10 with all alphabets in caps in asynchronous way\n\n\nconst randomWord = () =\u003e {\n    const data = UniqueGen.randomWord(10, false);\n    console.log(data);\n    output: abcdefghij\n}\nrandomWord(); // it will generate a random word of length 10 with all alphabets in small in asynchronous way\n\nconst randomSymbol = () =\u003e {\n    const data = UniqueGen.randomSymbol(10);\n    console.log(data);\n    output: !@#$%^\u0026***\n}\nrandomSymbol(); // it will generate a random symbol of length 10 with all symbols in asynchronous way\n\nconst randomMixed = () =\u003e {\n    const data = UniqueGen.randomMixed(10, false);\n    console.log(data);\n    output: abc#$%^\u0026**\n}\nrandomMixed(); // it will generate a random mixed ID of length 10 with all alphabets in small in asynchronous way\n\nconst randomMixed = () =\u003e {\n    const data = UniqueGen.randomMixed(10, true);\n    console.log(data);\n    output: ABC#$%^\u0026**\n}\nrandomMixed(); // it will generate a random mixed ID of length 10 with all alphabets in caps in asynchronous way\n\n```\n\n# Adtional Features\n\n-   You can set Custom Symbols, Words, Numbers \u0026 Mixed Data in third parameter of the function object.\n\n# Contributing\n\n[Ankan Saha](\"github.com/AnkanSaha\")\n[Priya Ghosh](\"https://www.npmjs.com/~priya_ghosh\")\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n# Project Status\n\nThis project is currently in development. Users can generate random numbers, words, symbols and mixed IDs in synchronous and asynchronous way. please update the package to get the latest version.\n\n# Donation\n\nIf you like my work and want to support me, you can donate me at [PayPal](https://paypal.me/ANKAN2003)\n\n# Thank You\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankansaha%2Funiquegen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankansaha%2Funiquegen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankansaha%2Funiquegen/lists"}