module to conduct search in http://www.baidu.com
baidu (http://www.baidu.com) is the largest search engine in China, it's google's equivalent here. It provide not only serach engine, but also Wikipedia like knowledge sharing, social networking, etc.
How to test this lib
This lib is based on TDD (Test Driven Development), so you can look at the test cases first, which is the file
./test/unittest.js, you can run the test as below
cd ./test/node unittest.js
If there are failures, you'll see Assert Excpetioin, below is one sample. Otherwise, no errors means all tests passed.
assert.js:90throw new assert.AssertionError
How to use this lib
Firstly if not, please firstly load this library via npm , for example
npm install baidu-search -save
Secondly, you should import this library in your source and then you can use following approaches to start a search:
var baidu =
How to contact me
You can find my contact via npm listed email or wechat at helloworld_2000