{"id":43546237,"url":"https://github.com/sqmk/afplay","last_synced_at":"2026-02-03T18:44:29.189Z","repository":{"id":57174109,"uuid":"44448194","full_name":"sqmk/afplay","owner":"sqmk","description":"Apple Audio File Play wrapper for Node.js","archived":false,"fork":false,"pushed_at":"2023-05-19T20:13:42.000Z","size":34,"stargazers_count":13,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-23T19:11:14.324Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/sqmk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-17T17:56:38.000Z","updated_at":"2025-07-29T22:08:39.000Z","dependencies_parsed_at":"2024-06-21T14:23:55.420Z","dependency_job_id":"636c534a-1a39-4fba-a3b1-ecc7cb639247","html_url":"https://github.com/sqmk/afplay","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"80b4149f1bd9a84f2e5b8656ad2e815a8201ec77"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/sqmk/afplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqmk%2Fafplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqmk%2Fafplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqmk%2Fafplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqmk%2Fafplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sqmk","download_url":"https://codeload.github.com/sqmk/afplay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sqmk%2Fafplay/sbom","scorecard":{"id":843058,"data":{"date":"2025-08-11","repo":{"name":"github.com/sqmk/afplay","commit":"990d0dd3cb7f019f8eeadda2075b22de428346f0"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-23T20:53:07.743Z","repository_id":57174109,"created_at":"2025-08-23T20:53:07.744Z","updated_at":"2025-08-23T20:53:07.744Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29053291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:43:47.601Z","status":"ssl_error","status_checked_at":"2026-02-03T15:43:46.709Z","response_time":96,"last_error":"SSL_read: 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":[],"created_at":"2026-02-03T18:44:28.679Z","updated_at":"2026-02-03T18:44:29.172Z","avatar_url":"https://github.com/sqmk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://cdn.rawgit.com/sqmk/afplay/df76b14734220405722158231e4578c209bbab63/media/logo.svg\" alt=\"Afplay\" /\u003e\n\u003c/p\u003e\n\n# Afplay - Apple Audio File Play wrapper for Node.js\n\n[![NPM Version](https://img.shields.io/npm/v/afplay.svg?style=flat-square)](https://www.npmjs.com/package/afplay)\n[![Build Status](https://img.shields.io/travis/sqmk/afplay/master.svg?style=flat-square)](https://travis-ci.org/sqmk/afplay)\n[![Dependency Status](https://img.shields.io/david/sqmk/afplay.svg?style=flat-square)](https://david-dm.org/sqmk/afplay)\n\nAfplay is a wrapper for Apple Audio File Play (afplay).\n\nUse Afplay to play audio files on OS X via afplay. Afplay afplay!\n\n## Installation\n\nAfplay was written for **Node.js 4+**.\n\n`npm install --save afplay`\n\n## Usage\n\nAfplay is super simple to use!\n\n### Play a Local File\n\n```js\nlet Afplay = require('afplay');\n\n// Instantiate a new player\nlet player = new Afplay;\n\n// Play a sound, handle result within a Promise\nplayer.play('/tmp/my-file.mp3')\n  .then(() =\u003e {\n    console.log('Audio done playing');\n  })\n  .catch(error =\u003e {\n    console.log('Error playing file');\n  });\n```\n\n### Configure Volume \u0026 Play Time\n\nIt is possible to configure volume and play time (in seconds).\n\n```js\nplayer.play('/tmp/my-file.mp3', {volume: 100, time: 15})\n  .then(() =\u003e {\n    console.log('Loud, short duration audio done playing');\n  })\n  .catch(error =\u003e {\n  \tconsole.log('Error playing file');\n  });\n```\n\n## Examples\n\nView the [examples](examples) directory.\n\n## Logo\n\nAfplay's initial logo was designed by scorpion6 on Fiverr. Font used is Lato Black.\n\n## License\n\nThis software is licensed under the MIT License. [View the license](LICENSE).\n\nCopyright © 2015 [Michael K. Squires](http://sqmk.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqmk%2Fafplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsqmk%2Fafplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsqmk%2Fafplay/lists"}