mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
update version & update test.js
This commit is contained in:
parent
b22ceafadb
commit
660be09d51
@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "1.1.8",
|
"version": "1.2.1",
|
||||||
"description": "网易云音乐nodejs版接口模块",
|
"description": "网易云音乐nodejs版接口模块",
|
||||||
"main": "build/app.js",
|
"main": "build/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1",
|
"test": "babel-node test/test.js",
|
||||||
"build": "babel src/ -d build/"
|
"build": "babel src/ -d build/"
|
||||||
},
|
},
|
||||||
"keywords": ["NeteaseCloudMusic","网易云音乐"],
|
"keywords": ["NeteaseCloudMusic","网易云音乐"],
|
||||||
|
@ -1,11 +1,11 @@
|
|||||||
import { api } from '../src/app.js'
|
import { api } from '../src/app.js'
|
||||||
|
|
||||||
api.search("年度之歌",(data)=>{
|
api.search("年度之歌",data=>{
|
||||||
console.log(data)
|
console.log(data)
|
||||||
})
|
})
|
||||||
api.song('308169',(data)=>{
|
api.song('308169',data=>{
|
||||||
console.log(data)
|
console.log(data)
|
||||||
})
|
})
|
||||||
api.lrc('5243023',(data)=>{
|
api.lrc('5243023',data=>{
|
||||||
console.log(data)
|
console.log(data)
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user