{"id":2100533,"name":"node-snowflake-id","ecosystem":"npm","description":"nodejs的分布式id解决方案 参考Twitter的snowflake ```js const SnowflakeID = require(\"SnowflakeID\") const sid = new SnowflakeID() let arr = [] for(let i = 0; i \u003c 10000; i++){     arr.push(sid.generate()) } console.log(arr) ```","homepage":"https://github.com/xfy196/SnowflakeID","licenses":"ISC","normalized_licenses":["ISC"],"repository_url":"https://github.com/xfy196/SnowflakeID","keywords_array":["id","snowflake","snowflakeid","node-snowflake","node-id"],"namespace":null,"versions_count":3,"first_release_published_at":"2021-12-06T06:47:36.302Z","latest_release_published_at":"2021-12-06T06:56:04.514Z","latest_release_number":"1.0.2","last_synced_at":"2026-07-20T10:35:12.060Z","created_at":"2022-04-09T21:01:23.272Z","updated_at":"2026-08-27T23:09:25.280Z","registry_url":"https://www.npmjs.com/package/node-snowflake-id","install_command":"npm install node-snowflake-id","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.2"}},"repo_metadata":{"id":124596805,"uuid":"435387969","full_name":"xfy196/SnowflakeID","owner":"xfy196","description":"nodejs雪花id生成方案","archived":false,"fork":false,"pushed_at":"2021-12-06T06:56:22.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-10T19:47:28.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xfy196.png","metadata":{},"created_at":"2021-12-06T06:41:40.000Z","updated_at":"2023-01-07T15:15:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"8667fe61-5dbd-4668-a143-06a6197e732f","html_url":"https://github.com/xfy196/SnowflakeID","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/xfy196/SnowflakeID","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfy196","download_url":"https://codeload.github.com/xfy196/SnowflakeID/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36947765,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-27T02:00:07.166Z","response_time":96,"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"},"owner_record":{"login":"xfy196","name":"小小荧","uuid":"45205025","kind":"user","description":"火星人写火星代码","email":"","website":"https://juejin.cn/user/606586151371054","location":"NanJing","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/45205025?u=0387e2e26bb74551fafbf6bfd8c10d8c4f87c0d7\u0026v=4","repositories_count":14,"last_synced_at":"2023-03-07T22:49:48.255Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/xfy196","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-17T18:28:54.422Z","updated_at":"2023-03-07T22:49:48.261Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfy196","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xfy196/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-08-27T23:09:25.280Z","dependent_packages_count":1,"downloads":33,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":33.16096352083503,"dependent_repos_count":25.32799796580169,"dependent_packages_count":16.223928578504864,"stargazers_count":15.548507148482713,"forks_count":17.419597981652586,"average":21.53619903905538},"purl":"pkg:npm/node-snowflake-id","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/node-snowflake-id","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/node-snowflake-id","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/node-snowflake-id/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T17:45:41.516Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/xfy196%2FSnowflakeID/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/node-snowflake-id/codemeta","maintainers":[{"uuid":"xfy196","login":"xfy196","name":null,"email":"xfy196@outlook.com","url":null,"packages_count":6,"html_url":"https://www.npmjs.com/~xfy196","role":null,"created_at":"2022-11-13T13:20:04.723Z","updated_at":"2022-11-13T13:20:04.723Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/xfy196/packages"}]}