{"id":16387500,"url":"https://github.com/mastilver/win-vol","last_synced_at":"2026-07-22T11:02:14.256Z","repository":{"id":35000925,"uuid":"39091264","full_name":"mastilver/win-vol","owner":"mastilver","description":null,"archived":false,"fork":false,"pushed_at":"2016-12-23T13:03:25.000Z","size":4,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T06:40:07.974Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/mastilver.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":"2015-07-14T17:53:27.000Z","updated_at":"2015-07-14T17:54:50.000Z","dependencies_parsed_at":"2022-09-15T23:12:26.351Z","dependency_job_id":null,"html_url":"https://github.com/mastilver/win-vol","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mastilver/win-vol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fwin-vol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fwin-vol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fwin-vol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fwin-vol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mastilver","download_url":"https://codeload.github.com/mastilver/win-vol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mastilver%2Fwin-vol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35759166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-07-22T02:00:06.236Z","response_time":124,"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":[],"created_at":"2024-10-11T04:26:42.233Z","updated_at":"2026-07-22T11:02:14.220Z","avatar_url":"https://github.com/mastilver.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# osx-vol [![Build Status](https://travis-ci.org/gillstrom/osx-vol.svg?branch=master)](https://travis-ci.org/gillstrom/osx-vol)\n\n\u003e Get and set volume in OS X systems.\n\n\n## Install\n\n```\n$ npm install --save osx-vol\n```\n\n\n## Usage\n\n```js\nvar osxVol = require('osx-vol');\n\nosxVol.get(function (err, level) {\n\tconsole.log(level);\n\t//=\u003e 0.45\n});\n\nosxVol.set(0.65, function (err) {\n\tconsole.log('Changed volume to 65%');\n});\n```\n\n\n## API\n\n### .get(callback)\n\nGet volume level.\n\n#### callback(err, level)\n  \nType: `function`\n\n##### level\n\nType: `number`\n\nCurrent volume level.\n\n### .set(level, callback)\n\nSet volume level.\n\n#### level\n\n*Required*\nType: `number`\n\nA number between `0` and `1.\n\n#### callback(err)\n  \nType: `function`\n\n\n## CLI\n\nSee the [vol](https://github.com/gillstrom/vol) CLI.\n\n\n## License\n\nMIT © [Andreas Gillström](http://github.com/gillstrom)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Fwin-vol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmastilver%2Fwin-vol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmastilver%2Fwin-vol/lists"}