{"id":18036774,"url":"https://github.com/zyrouge/node-genius-lyrics","last_synced_at":"2025-04-09T13:05:34.771Z","repository":{"id":40666597,"uuid":"224685876","full_name":"zyrouge/node-genius-lyrics","owner":"zyrouge","description":"Simple lyrics fetcher that uses Genius. Also has official API implementations.","archived":false,"fork":false,"pushed_at":"2024-06-17T15:00:58.000Z","size":1141,"stargazers_count":65,"open_issues_count":3,"forks_count":13,"subscribers_count":2,"default_branch":"next","last_synced_at":"2025-04-02T06:52:16.048Z","etag":null,"topics":["genius","genius-lyrics","lyrics"],"latest_commit_sha":null,"homepage":"https://genius-lyrics.js.org","language":"TypeScript","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/zyrouge.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},"funding":{"github":"zyrouge","patreon":"zyrouge"}},"created_at":"2019-11-28T15:50:59.000Z","updated_at":"2025-03-11T03:33:16.000Z","dependencies_parsed_at":"2023-01-29T13:01:00.488Z","dependency_job_id":"1968223c-3ff0-44b7-ba25-3a78cb6ed865","html_url":"https://github.com/zyrouge/node-genius-lyrics","commit_stats":{"total_commits":95,"total_committers":8,"mean_commits":11.875,"dds":0.5789473684210527,"last_synced_commit":"8499a0aeb91fd5eba296f96c19a24db28a2177d5"},"previous_names":["zyrouge/genius-lyrics"],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrouge%2Fnode-genius-lyrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrouge%2Fnode-genius-lyrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrouge%2Fnode-genius-lyrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zyrouge%2Fnode-genius-lyrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zyrouge","download_url":"https://codeload.github.com/zyrouge/node-genius-lyrics/tar.gz/refs/heads/next","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248045230,"owners_count":21038553,"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":["genius","genius-lyrics","lyrics"],"created_at":"2024-10-30T12:14:12.156Z","updated_at":"2025-04-09T13:05:34.752Z","avatar_url":"https://github.com/zyrouge.png","language":"TypeScript","funding_links":["https://github.com/sponsors/zyrouge","https://patreon.com/zyrouge"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGenius Lyrics 🎵\u003c/h1\u003e\n\n[![npm](https://img.shields.io/npm/v/genius-lyrics)](https://npmjs.com/package/genius-lyrics)\n[![npm](https://img.shields.io/npm/dw/genius-lyrics)](https://npmjs.com/package/genius-lyrics)\n[![npm](https://img.shields.io/npm/l/genius-lyrics)](https://npmjs.com/package/genius-lyrics)\n[![Documentation](https://github.com/zyrouge/node-genius-lyrics/actions/workflows/docs.yml/badge.svg?branch=master)](https://github.com/zyrouge/node-genius-lyrics/actions/workflows/docs.yml)\n\n## 🤔 Whats is this?\n\nJust a simple lyrics fetcher that uses [Genius](https://genius.com). This also has official API implementations.\n\n## 💻 Installation\n\n```\nnpm install genius-lyrics\n```\n\n## ⚙️ Usage\n\n```js\nconst Genius = require(\"genius-lyrics\");\nconst Client = new Genius.Client(\"top-secret-optional-key\");\n```\n\n## 📎 Links\n\n-   [Documentation](https://genius-lyrics.js.org/)\n-   [NPM](https://npmjs.com/genius-lyrics)\n-   [GitHub](https://github.com/zyrouge/node-genius-lyrics)\n\n## ✏️ Examples\n\n### Requiring\n\n**JavaScript**\n\n```js\nconst Genius = require(\"genius-lyrics\");\nconst Client = new Genius.Client(\"top-secret-optional-key\"); // Scrapes if no key is provided\n```\n\n**TypeScript**\n\n```ts\nimport Genius from \"genius-lyrics\";\nconst Client = new Genius.Client(\"top-secret-optional-key\"); // Scrapes if no key is provided\n```\n\n### Fetching a Song and Lyrics\n\n```js\nconst searches = await Client.songs.search(\"faded\");\n\n// Pick first one\nconst firstSong = searches[0];\nconsole.log(\"About the Song:\\n\", firstSong, \"\\n\");\n\n// Ok lets get the lyrics\nconst lyrics = await firstSong.lyrics();\nconsole.log(\"Lyrics of the Song:\\n\", lyrics, \"\\n\");\n```\n\n### Fetching an Artist\n\n```js\nconst artist = await Client.artists.get(456537);\nconsole.log(\"About the Artist:\\n\", artist, \"\\n\");\n```\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyrouge%2Fnode-genius-lyrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzyrouge%2Fnode-genius-lyrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzyrouge%2Fnode-genius-lyrics/lists"}