{"id":22707190,"url":"https://github.com/tutv/pm2-master","last_synced_at":"2026-04-12T16:02:34.479Z","repository":{"id":57326322,"uuid":"109915687","full_name":"tutv/pm2-master","owner":"tutv","description":"PM2 is master","archived":false,"fork":false,"pushed_at":"2018-06-26T02:58:58.000Z","size":12,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-10-09T07:07:12.050Z","etag":null,"topics":["cluster","ismaster","master","nodejs","pm2","worker"],"latest_commit_sha":null,"homepage":"https://goo.gl/okJy3o","language":"JavaScript","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/tutv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-11-08T02:12:03.000Z","updated_at":"2018-06-26T02:58:59.000Z","dependencies_parsed_at":"2022-09-21T01:51:56.648Z","dependency_job_id":null,"html_url":"https://github.com/tutv/pm2-master","commit_stats":null,"previous_names":["tutv95/pm2-master"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tutv/pm2-master","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fpm2-master","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fpm2-master/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fpm2-master/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fpm2-master/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tutv","download_url":"https://codeload.github.com/tutv/pm2-master/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tutv%2Fpm2-master/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000986,"owners_count":26082971,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":["cluster","ismaster","master","nodejs","pm2","worker"],"created_at":"2024-12-10T10:11:43.916Z","updated_at":"2025-10-09T07:08:11.840Z","avatar_url":"https://github.com/tutv.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PM2 Master [![Travis branch](https://img.shields.io/travis/tutv/pm2-master/develop.svg)]() [![npm (tag)](https://img.shields.io/npm/v/pm2-master/latest.svg)]() [![GitHub issues](https://img.shields.io/github/issues/tutv/pm2-master.svg)]()\n\nCheck process is master when run with PM2\n\n----\n\n\n### Example\n```javascript\nconst pm2Master = require('pm2-master');\nif (pm2Master.isMaster()) {\n    console.log('master');\n} else {\n    console.log('worker');\n}\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fpm2-master","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftutv%2Fpm2-master","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftutv%2Fpm2-master/lists"}