{"id":20109489,"url":"https://github.com/agentcooper/node-osx-quartz","last_synced_at":"2025-08-14T00:05:05.430Z","repository":{"id":57316714,"uuid":"77699827","full_name":"agentcooper/node-osx-quartz","owner":"agentcooper","description":"Query Quartz (Core Graphics) information on OS X","archived":false,"fork":false,"pushed_at":"2016-12-30T17:13:55.000Z","size":1,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-14T00:03:57.663Z","etag":null,"topics":["osx","quartz"],"latest_commit_sha":null,"homepage":null,"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/agentcooper.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":"2016-12-30T17:12:31.000Z","updated_at":"2023-01-10T03:17:36.000Z","dependencies_parsed_at":"2022-08-25T20:40:58.769Z","dependency_job_id":null,"html_url":"https://github.com/agentcooper/node-osx-quartz","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/agentcooper/node-osx-quartz","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnode-osx-quartz","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnode-osx-quartz/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnode-osx-quartz/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnode-osx-quartz/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agentcooper","download_url":"https://codeload.github.com/agentcooper/node-osx-quartz/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agentcooper%2Fnode-osx-quartz/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270336686,"owners_count":24566779,"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-08-13T02:00:09.904Z","response_time":66,"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":["osx","quartz"],"created_at":"2024-11-13T18:08:34.099Z","updated_at":"2025-08-14T00:05:05.072Z","avatar_url":"https://github.com/agentcooper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### osx-quartz\n\n`npm install osx-quartz --save`\n\nApple Core Graphics framework provides some useful OS X information through [CGSessionCopyCurrentDictionary](https://developer.apple.com/reference/coregraphics/1454780-cgsessioncopycurrentdictionary) call.\n\n#### Example\n\n```js\nconst quartz = require('osx-quartz');\n\nconsole.log(quartz.CGSessionCopyCurrentDictionary());\n\n/*\n{ kCGSSessionAuditIDKey: '100005',\n  kCGSSessionGroupIDKey: '20',\n  kCGSSessionLoginwindowSafeLogin: '0',\n  kCGSSessionOnConsoleKey: '1',\n  kCGSSessionSystemSafeBoot: '0',\n  kCGSSessionUserIDKey: '503',\n  kCGSSessionUserNameKey: 'john-doe',\n  kCGSessionLoginDoneKey: '1',\n  kCGSessionLongUserNameKey: 'JohnDoe',\n  kSCSecuritySessionID: '100005' }\n*/\n\nconsole.log(quartz.isScreenLocked()); // returns boolean\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Fnode-osx-quartz","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagentcooper%2Fnode-osx-quartz","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagentcooper%2Fnode-osx-quartz/lists"}