{"id":18896974,"url":"https://github.com/maciek134/node-mpg123","last_synced_at":"2025-04-15T02:07:55.932Z","repository":{"id":5089329,"uuid":"6251681","full_name":"maciek134/node-mpg123","owner":"maciek134","description":"Written entirely in JS mpg123 (http://www.mpg123.de/) wrapper for Node.js.","archived":false,"fork":false,"pushed_at":"2012-10-16T22:48:34.000Z","size":128,"stargazers_count":8,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-15T02:07:51.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"karthik20522/MultiPortUpload","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maciek134.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":"2012-10-16T21:05:16.000Z","updated_at":"2023-09-03T20:40:52.000Z","dependencies_parsed_at":"2022-07-28T23:18:42.330Z","dependency_job_id":null,"html_url":"https://github.com/maciek134/node-mpg123","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciek134%2Fnode-mpg123","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciek134%2Fnode-mpg123/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciek134%2Fnode-mpg123/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maciek134%2Fnode-mpg123/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maciek134","download_url":"https://codeload.github.com/maciek134/node-mpg123/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248991543,"owners_count":21194894,"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","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-11-08T08:35:54.235Z","updated_at":"2025-04-15T02:07:55.897Z","avatar_url":"https://github.com/maciek134.png","language":"JavaScript","readme":"node-mpg123\n===========\n\nWritten entirely in JS mpg123 (http://www.mpg123.de/) wrapper for Node.js.\n\nInstallation\n-----------\n### Debian/Ubuntu ###\n````\nsudo apt-get install mpg123\nnpm install node-mpg123\n````\n\nExample Usage\n------------\n\n````javascript\nvar Sound = require('node-mpg123');\n\n// fire and forget:\nnew Sound('/path/to/the/file/filename.mp3').play();\n\n\n// with ability to pause/resume:\nvar music = new Sound('/path/to/the/file/filename.mp3');\nmusic.play();\n\nsetTimeout(function () {\n\tmusic.pause(); // pause the music after five seconds\n}, 5000);\n\nsetTimeout(function () {\n\tmusic.resume(); // and resume it two seconds after pausing\n}, 7000);\n\n// you can also listen for various callbacks:\nmusic.on('complete' function () {\n\tconsole.log('Done with playback!');\n});\n````\n\nIt's simple as that.\n\nDocumentation\n------------\nIn progress.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaciek134%2Fnode-mpg123","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaciek134%2Fnode-mpg123","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaciek134%2Fnode-mpg123/lists"}