{"id":20286841,"url":"https://github.com/chanmyaemaung/chanid","last_synced_at":"2026-04-18T12:37:36.910Z","repository":{"id":210405076,"uuid":"726464845","full_name":"chanmyaemaung/chanid","owner":"chanmyaemaung","description":"CHANID is a compact and robust utility for generating unique identifiers in JavaScript and TypeScript.","archived":false,"fork":false,"pushed_at":"2023-12-25T16:14:51.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"latest","last_synced_at":"2025-03-04T04:14:02.327Z","etag":null,"topics":["chanid","js-library","npm-package","typescript-library","vanilla-js"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/chanid","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chanmyaemaung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-02T13:33:48.000Z","updated_at":"2023-12-26T05:07:40.000Z","dependencies_parsed_at":"2023-12-25T16:26:24.382Z","dependency_job_id":"77c41eb3-01d8-4a41-8d83-cca4f31248a6","html_url":"https://github.com/chanmyaemaung/chanid","commit_stats":null,"previous_names":["chanmyaemaung/chanid"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/chanmyaemaung/chanid","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Fchanid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Fchanid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Fchanid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Fchanid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chanmyaemaung","download_url":"https://codeload.github.com/chanmyaemaung/chanid/tar.gz/refs/heads/latest","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chanmyaemaung%2Fchanid/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31969769,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["chanid","js-library","npm-package","typescript-library","vanilla-js"],"created_at":"2024-11-14T14:37:11.012Z","updated_at":"2026-04-18T12:37:36.889Z","avatar_url":"https://github.com/chanmyaemaung.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CHANID (Chan Lay ID)\n\n[![npm version](https://badge.fury.io/js/chanid.svg)](https://www.npmjs.com/package/chanid)\n![License](https://img.shields.io/github/license/chanmyaemaung/chanid)\n[![npm downloads](https://img.shields.io/npm/dt/chanid.svg)](https://www.npmjs.com/package/chanid)\n[![Bundle Size](https://img.shields.io/bundlephobia/min/chanid)](https://bundlephobia.com/result?p=chanid)\n[![TypeScript](https://img.shields.io/badge/-TypeScript-blue)](https://www.typescriptlang.org/)\n[![Code Style: Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io/)\n[![Contributions Welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg)](https://github.com/chanmyaemaung/chanid/issues)\n\nCHANID is a minimalistic and efficient utility for generating unique identifiers in JavaScript and TypeScript. It can be seamlessly integrated into your projects, whether you're working with vanilla JavaScript or taking advantage of TypeScript's static typing.\n\n## Table of Contents\n\n- [CHANID (Chan Lay ID)](#chanid-chan-lay-id)\n  - [Table of Contents](#table-of-contents)\n  - [Installation](#installation)\n  - [Usage](#usage)\n  - [Features](#features)\n  - [CDN Usage](#cdn-usage)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Installation\n\nYou can install CHANID via npm:\n\n```bash\nnpm install chanid\n```\n\n## Usage\n\nCHANID is very easy to use. Simply import the module and call the function to generate a unique identifier.\n\n```js\n// Import the CHANID function from the module\nconst chanid = require('chanid');\n\n// Generate a unique identifier\nconst uniqueID = chanid();\n\nconsole.log(uniqueID);\n```\n\nNote: If you are using TypeScript, you can use the import statement instead:\n```js\n// Import the CHANID function from the module\nimport chanid from 'chanid';\n\n// Generate a unique identifier\nconst uniqueID = chanid();\n\nconsole.log(uniqueID);\n```\n\n## Features\n\nGenerates unique identifiers based on the UUID format.\nWorks in both JavaScript and TypeScript environments.\n\n## CDN Usage\n\nYou can also include CHANID directly in your HTML file using a CDN:\n\n```html\n\u003c!-- Latest version from jsDelivr (ECMAScript module) --\u003e\n\u003cscript type=\"module\"\u003e\n  import chanid from 'https://cdn.jsdelivr.net/npm/chanid@1.2.6/dist/chanid.min.mjs';\n\n  const uniqueID = chanid();\n  console.log(uniqueID);\n\u003c/script\u003e\n\n\u003c!-- Latest version from jsDelivr (Minified script) --\u003e\n\u003cscript nomodule src=\"https://cdn.jsdelivr.net/npm/chanid@1.2.6/dist/chanid.min.js\"\u003e\u003c/script\u003e\n```\n\n## Contributing\n\nIf you would like to contribute to CHANID, feel free to submit a pull request or open an issue.\n\n## License\n\nThis project is licensed under the ISC License - see the `LICENSE.md` file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmyaemaung%2Fchanid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchanmyaemaung%2Fchanid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchanmyaemaung%2Fchanid/lists"}