baidu-baike
v1.2.1
Published
百度百科
Downloads
7
Readme
baidu-baike
百度百科
Install
Install using npm:
$ npm install baidu-baike
Usage
const baike = require('baidu-baike')
const query = '三体'
baike(query)
.then(res => console.log(JSON.stringify(res)))
.catch(err => console.error(err))
Test
Run tests:
$ npm test
Tested with node.js v4.0+
License
The MIT License (MIT)
Copyright (c) 2016