{"_id":"163-music","_rev":"2-9264f4ece4f8118a915e051ddb88cbf7","name":"163-music","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.1":{"name":"163-music","version":"0.0.1","description":"Netease Music SDK in Node.js","main":"index.js","directories":{"example":"example","test":"test"},"scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/song940/163-music.git"},"author":{"name":"lsong"},"license":"MIT","bugs":{"url":"https://github.com/song940/163-music/issues"},"homepage":"https://github.com/song940/163-music#readme","keywords":["163","music"],"gitHead":"3f2eb9bfb43a82fe58cfe38e12de363daf153d6e","_id":"163-music@0.0.1","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"song940","email":"song940@gmail.com"},"dist":{"integrity":"sha512-GDzKgZ6kwP8YAkHQAkRvVu/9CaYTm5ya06XTqUwcMvg54tx+6Zg7dZnY1gGoxhbMc8tqzxZ7vOHE6sVO78KG5w==","shasum":"2e38ef6ad22a90c93e4feb31d664ec598389baf7","tarball":"https://registry.npmjs.org/163-music/-/163-music-0.0.1.tgz","fileCount":8,"unpackedSize":23572,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhUWnCRA9TVsSAnZWagAAkt8QAKE8vwkWLCGjc9TgET+J\nyium7XZwKDL+GIqHvjbPq9O+jkgUBHd7SsDVxIXtTMUQhasAjB6PzqrvTeE4\nLllB5xFpq89scNFSxbDU4iQo+2CwkyfsahtuKj+Fa6xNEY25+4dHlXWwYbT7\nqBzK4KPGgE6rSMGLSobJWZRqDWr7y8+exCUg1HP/NfjgekAk/sxQ9HdpsYvu\nKi8rTpBCHYl3nioj08PlULz7WxvZikJvfZ2un4gCWh5DEGD3NAeF8AeqQ/FI\n+tmLV2uaU4KovVSx6v28/g4Qag325FfABWb4ip3uQHyXqpaTuUmkU6wl2kNH\nUcAeZHg9OqxJZy511GxnlsC2NmPSDvAyVRZmwxFpUMwdbzAQGy6T3HKQu3Ce\nofqPeM+3HSq3Z74G+rtkIByrCnMtmIYLmNGO1v2vOFQySnRo0vin8S89sZLx\n/SsDgCwm1ksBMd5X1MVRiyeOeLhfAZGIJueOqWIh2SZ8itFox5x6ILTQ5Ex8\n351MX60SLCByY1HhmnLmYfoXQGcta5wnguilelBqKgDjWv9dSJJYFjlaEOia\nHIe3Qj5Uj/N/PWo2ImdC0LYnCqZaiIPG4IGJGc//TsgDjD18imY7iHzicR0X\nMdMkm28F3Sw0aWo5aGp5XhIPe+Ft6T5360Ph7IwQ9sgpWtCx+Oa6SExze+SO\nXy73\r\n=WOrM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDgfgE6jJbL9xlopSZ88gUQ/dqlRZQAhX23uAtexCV3vAiBjGTBs92DSUbvuYlX/wwh7Sr8bFZgsk39LoXlwWHst/Q=="}]},"maintainers":[{"name":"song940","email":"song940@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/163-music_0.0.1_1535460775253_0.057421557516295074"},"_hasShrinkwrap":false},"0.0.2":{"name":"163-music","version":"0.0.2","description":"Netease Music SDK in Node.js","main":"index.js","scripts":{"test":"node test"},"repository":{"type":"git","url":"git+https://github.com/song940/163-music.git"},"author":{"name":"lsong"},"license":"MIT","bugs":{"url":"https://github.com/song940/163-music/issues"},"homepage":"https://github.com/song940/163-music#readme","keywords":["163","music"],"directories":{"example":"example","test":"test"},"gitHead":"d5def0e38f5a3469c5e1978727d7d5e48a1e30f6","_id":"163-music@0.0.2","_npmVersion":"6.2.0","_nodeVersion":"10.9.0","_npmUser":{"name":"song940","email":"song940@gmail.com"},"dist":{"integrity":"sha512-vDCkbsfV1bQjtwjMtWPGIGxzRM1v8QjLgSNS4fRwAexryK2xMcioz2MkLPoZEmNvvJFHyUax3sJHzxQesCiVFA==","shasum":"e702ff7c9e1396033f5825d821d54edf0a10693a","tarball":"https://registry.npmjs.org/163-music/-/163-music-0.0.2.tgz","fileCount":10,"unpackedSize":24084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiL7PCRA9TVsSAnZWagAAU0oP/3y3kDS0YvQSzY9k6mOT\nZJJP97VXmacSZZ1bLNDv5SHXx1qwQXOnKD2uVQcOQrnh+Y5JC94+JH1chdM6\nGwgqnb+qNU29Z92G78SAXkdpp4BJ+b5ieoZZ/NnJG1B0hxLt5WBZMFPgpuiM\nszxyRIUnknjhr/hEuwqUa64di4Fj/DthYB5t57CYzOMBnMaeBpGLj0kVmwWI\nyNeavTNOJ0WtiZlgDs2uXIVRRkJeT6j5RoxDsVvYrL0TOehjVgIivPqx0UrH\ntUWWYEvuc/7OjxIzn+ez/gDBjxSK6zkIoCAVttIEfjLx0aeYSWISA65WUTaA\nly34mM/VdQLYnGj7YYq8Np5tSSRfVeLAXTK0rGmO/0OqMHX6nM/Q5uIbAI7s\n/JbAIMOCHS49HvGrYS0ESPLSmoXxUm0KMoKzKUyy04okdQ17eFXJiPiVVEYQ\ntj5om093TSJaVKoDxKbXBXro2trUjhNbCX0/Mh6uZQvWmoG3V8J/mTx0/0rh\n9c5eQahvyFyauYWB//Oer29bKSmsidtYr1RUa7Hfu/4aATkpOU0cx/lt6lqZ\nFV7pPVWLYPERXCPpjglc9Dqr7XnALIzVUqXQdSwOle6VMmuvrFNKQYuwFlYE\nsxRjnl+86Ealr6h9ySAm5i7Vd+mZOCuCcFRZ1/t8BJ1VsuSh4CxXf3avhlNm\noJVP\r\n=JhAk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHSFtAiTvvxYbDGKYq9uIQ9iA3iS1v8iibgfP1BI9Yd8AiEAhWrwjjBVmbUXkpnjCihhwOgwLskQM1ovZb8MV+z3LJs="}]},"maintainers":[{"name":"song940","email":"song940@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/163-music_0.0.2_1535688398426_0.8338012041828431"},"_hasShrinkwrap":false}},"time":{"created":"2018-08-28T12:52:55.253Z","0.0.1":"2018-08-28T12:52:55.317Z","modified":"2022-04-04T10:11:18.506Z","0.0.2":"2018-08-31T04:06:38.605Z"},"maintainers":[{"name":"song940","email":"song940@gmail.com"}],"description":"Netease Music SDK in Node.js","homepage":"https://github.com/song940/163-music#readme","keywords":["163","music"],"repository":{"type":"git","url":"git+https://github.com/song940/163-music.git"},"author":{"name":"lsong"},"bugs":{"url":"https://github.com/song940/163-music/issues"},"license":"MIT","readme":"## 163-music [![163-music](https://img.shields.io/npm/v/163-music.svg)](https://npmjs.org/163-music)\n\n> Netease Music SDK in Node.js\n\n### Installation\n\n```bash\n$ npm install 163-music\n```\n\n### Example\n\n\n```javascript\nconst NeteaseMusic = require('163-music');\n\nconst nm = new NeteaseMusic({\n    cookie: '__Your_Cookies__'\n})\n\nnm.search('Love Song').then(({ result }) => {\n  const { songs } = result;\n  songs.forEach(song => {\n    console.log(`search(#${song.id}):`, song.name);\n  });\n})\n\nnm.playlist('751387161').then(data => {\n  console.log('歌单', data)\n})\n\nnm.picture('19124905253588326', 400).then(data => {\n  console.log('图片地址', data)\n})\n\nnm.artist('4130').then(data => {\n  console.log('艺术家', data)\n})\n\nnm.album('35327877').then(data => {\n  console.log('歌单', data)\n})\n\nnm.lyric('479403027').then(data => {\n  console.log('歌词', data)\n})\n\nnm.url('82360').then(({ data: resources }) => {\n  resources.forEach(resource => {\n    const { id, url } = resource;\n    console.log(`song(#${id}):`, url);\n  });\n})\n\nnm.song('479403027').then(data => {\n  console.log('歌曲详情', data)\n})\n```\n\n\n### Contributing\n- Fork this Repo first\n- Clone your Repo\n- Install dependencies by `$ npm install`\n- Checkout a feature branch\n- Feel free to add your features\n- Make sure your features are fully tested\n- Publish your local branch, Open a pull request\n- Enjoy hacking <3\n\n### MIT\n\nThis work is licensed under the [MIT license](./LICENSE).\n\n---","readmeFilename":"README.md"}