{"analyzedAt":"2022-06-25T02:20:51.611Z","collected":{"metadata":{"name":"youtube-mp3-converter","scope":"unscoped","version":"1.0.3","description":"A simple node module to download youtube videos and convert them to mp3s. A simple wrapper around the ytdl and ffmped library, which provides a nice and easy to use api to convert youtube links into mp3s.","keywords":["youtube","mp3","download","encode","ffmpeg","parallel","fast","streams"],"date":"2021-05-05T09:05:14.371Z","author":{"name":"Firemind"},"publisher":{"username":"firemind","email":"info@ductec.de"},"maintainers":[{"username":"firemind","email":"info@ductec.de"}],"repository":{"type":"git","url":"git+https://github.com/classicCokie/youtube-mp3-converter.git"},"links":{"npm":"https://www.npmjs.com/package/youtube-mp3-converter","homepage":"https://github.com/classicCokie/youtube-mp3-converter#readme","repository":"https://github.com/classicCokie/youtube-mp3-converter","bugs":"https://github.com/classicCokie/youtube-mp3-converter/issues"},"license":"ISC","dependencies":{"fluent-ffmpeg":"^2.1.2","ytdl-core":"^4.5.0"},"devDependencies":{"eslint":"^7.25.0","eslint-config-google":"^0.14.0","tape":"^5.2.2"},"releases":[{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1},{"from":"2020-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":6}],"hasTestScript":true,"readme":"# youtube-mp3-converter \nA simple node module to download youtube videos and convert them to mp3s.\nA simple wrapper around the ytdl and ffmped library, which provides a nice and easy to use api to convert youtube links into mp3s. \n\n## Attention\nDownloading videos or their respective audio from youtube, is in direct breach with their Policy. \nUsing this module on other videos than your own, may lead to youtube sueing you. \n\n## Before you start\nThis module depends on the ffmpeg library. Make sure you have ffmpeg installed. If not see [here](https://github.com/fluent-ffmpeg/node-fluent-ffmpeg) for installation details.\n\n## Install\n```npm install youtube-mp3-converter```\n\n## Run Tests\n```npm run test```\n\n## Basic Usage\n```js\n    // Sets up the downloader\n    const youtubeMp3Converter = require('youtube-mp3-converter')\n    // creates Download function\n    const convertLinkToMp3 = youtubeMp3Converter(pathToSaveFiles)\n    // Downloads mp3 and Returns path were it was saved.\n    const pathToMp3 = await convertLinkToMp3('https://www.youtube.com/watch?v=_cyND_1y1k0')\n```\n\n## Usage Options\n```js\n    const youtubeMp3Converter = require('youtube-mp3-converter')\n\n    const convertLinkToMp3 = youtubeMp3Converter(pathToSaveFiles)\n\n    const pathToMp3 = await convertLinkToMp3('https://www.youtube.com/watch?v=_cyND_1y1k0', {\n        startTime: \"00:00:10\", // from where in the video the mp3 should start\n        duration: 20, // Length of mp3 in seconds (from start point)\n        title: 'fooo' // The tile of the mp3 file, undefined it takes the youtube title\n    })\n```\n\n\n## TODOS\nThis module is currently lacking some serious tests. If you wanna extend that, please be my guest."},"npm":{"downloads":[{"from":"2022-06-24T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":29},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":91},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":346},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":930},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":1791}],"starsCount":0},"github":{"starsCount":4,"forksCount":1,"subscribersCount":0,"issues":{"count":4,"openCount":4,"distribution":{"3600":0,"10800":0,"32400":0,"97200":0,"291600":0,"874800":0,"2624400":0,"7873200":3,"23619600":0,"70858800":1,"212576400":0},"isDisabled":false},"contributors":[{"username":"classicCokie","commitsCount":2}],"commits":[{"from":"2022-06-18T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-05-26T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2022-03-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-12-27T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0},{"from":"2021-06-25T00:00:00.000Z","to":"2022-06-25T00:00:00.000Z","count":0}]},"source":{"files":{"readmeSize":1688,"testsSize":976},"linters":["eslint"]}},"evaluation":{"quality":{"carefulness":0.84,"tests":0.6,"health":1,"branding":0},"popularity":{"communityInterest":6,"downloadsCount":115.33333333333333,"downloadsAcceleration":-0.4034246575342466,"dependentsCount":0},"maintenance":{"releasesFrequency":0.9,"commitsFrequency":0.9,"openIssues":0.9,"issuesDistribution":0.9}},"score":{"final":0.6111899687341984,"detail":{"quality":0.8262967790528932,"popularity":0.03812183752327587,"maintenance":0.9998808339576686}}}