提交 660be09d 编写于 作者: zhuangtongfa's avatar zhuangtongfa

update version & update test.js

上级 b22ceafa
{
"name": "NeteaseCloudMusicApi",
"version": "1.1.8",
"version": "1.2.1",
"description": "网易云音乐nodejs版接口模块",
"main": "build/app.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "babel-node test/test.js",
"build": "babel src/ -d build/"
},
"keywords": ["NeteaseCloudMusic","网易云音乐"],
......
import { api } from '../src/app.js'
api.search("年度之歌",(data)=>{
api.search("年度之歌",data=>{
console.log(data)
})
api.song('308169',(data)=>{
api.song('308169',data=>{
console.log(data)
})
api.lrc('5243023',(data)=>{
api.lrc('5243023',data=>{
console.log(data)
})
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册