{"id":28208014,"url":"https://github.com/cocoadialog/node-cocoadialog","last_synced_at":"2026-02-15T07:02:57.913Z","repository":{"id":57115558,"uuid":"86234214","full_name":"cocoadialog/node-cocoadialog","owner":"cocoadialog","description":"Node.js wrapper for cocoaDialog","archived":false,"fork":false,"pushed_at":"2018-06-29T22:45:15.000Z","size":1973,"stargazers_count":7,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-10-18T07:32:42.285Z","etag":null,"topics":["cocoadialog","dialogs","macos","node-wrapper","nodejs","osx","utility"],"latest_commit_sha":null,"homepage":"https://unicorn-fail.github.io/node-cocoadialog","language":"JavaScript","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/cocoadialog.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-26T13:22:39.000Z","updated_at":"2024-12-05T23:05:05.000Z","dependencies_parsed_at":"2022-09-17T11:21:25.394Z","dependency_job_id":null,"html_url":"https://github.com/cocoadialog/node-cocoadialog","commit_stats":null,"previous_names":["unicorn-fail/node-cocoadialog"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cocoadialog/node-cocoadialog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoadialog%2Fnode-cocoadialog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoadialog%2Fnode-cocoadialog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoadialog%2Fnode-cocoadialog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoadialog%2Fnode-cocoadialog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cocoadialog","download_url":"https://codeload.github.com/cocoadialog/node-cocoadialog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cocoadialog%2Fnode-cocoadialog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29472878,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T06:58:05.414Z","status":"ssl_error","status_checked_at":"2026-02-15T06:58:05.085Z","response_time":118,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cocoadialog","dialogs","macos","node-wrapper","nodejs","osx","utility"],"created_at":"2025-05-17T14:11:32.215Z","updated_at":"2026-02-15T07:02:57.898Z","avatar_url":"https://github.com/cocoadialog.png","language":"JavaScript","readme":"# cocoadialog\n\n\u003e Node.js wrapper for [cocoaDialog]\n\n**Note:** Issues with the actual cocoaDialog application should be filed in its [issue queue](https://github.com/mstratman/cocoadialog/issues).\n\n\n## Install\n\n```\n$ npm install --save cocoadialog\n```\n\n\n## Basic Usage\n\n```js\nconst cocoaDialog = require('cocoadialog').setGlobalOption({\n  stringOutput: true\n});\n\ncocoaDialog.msgBox()\n  .setTitle('This is the title')\n  .setIcon('caution')\n  .setLabel('This is the label')\n  .setButtons('Ok', 'Cancel', 'More')\n  .open()\n  .then(result =\u003e {\n    if (result.button === 'Ok') {\n      console.log('Ok button was clicked.');\n    }\n    else if (result.button === 'More') {\n      console.log('More button was clicked.');\n    }\n  })\n  .catch(result =\u003e {\n    if (result.hasAborted()) {\n      console.log('Cancel button was clicked.');\n    }\n    else {\n      console.error(result.error);\n    }\n  });\n```\n\n## Examples\n\n* [MsgBox](https://unicorn-fail.github.io/node-cocoadialog/?content=msgbox)\n* [ProgressBar](https://unicorn-fail.github.io/node-cocoadialog//?content=progressbar)\n\n\n## API\n\n[API Documentation](https://unicorn-fail.github.io/node-cocoadialog/?api)\n\n## License\n\nMIT © [Mark Carver](https://github.com/markcarver)\n\n[cocoaDialog]: http://mstratman.github.io/cocoadialog/#documentation3.0\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoadialog%2Fnode-cocoadialog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcocoadialog%2Fnode-cocoadialog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcocoadialog%2Fnode-cocoadialog/lists"}