UNPKG

zhihu-api

Version:

Unofficial API for zhihu (https://www.zhihu.com)

56 lines (55 loc) 1.44 kB
{ "name": "zhihu-api", "version": "2.4.3", "description": "Unofficial API for zhihu (https://www.zhihu.com)", "main": "index.js", "scripts": { "test": "mocha test/**/*.js", "doc:clean": "rm -rf doc/_book", "doc:build": "npm run doc:clean && cd doc && gitbook build", "doc:publish": "npm run doc:build && cd doc/_book && git init && git commit --allow-empty -m \"Update doc\" && git checkout -b gh-pages && git add . && git commit -am \"Update docs\" && git push https://github.com/syaning/zhihu-api.git gh-pages --force" }, "repository": { "type": "git", "url": "git+https://github.com/syaning/zhihu-api.git" }, "keywords": [ "zhihu", "api", "crawler", "spider" ], "author": { "name": "Alex Sun", "email": "syaningv@gmail.com", "url": "syaning.com" }, "license": "MIT", "bugs": { "url": "https://github.com/syaning/zhihu-api/issues" }, "homepage": "https://github.com/syaning/zhihu-api#readme", "dependencies": { "cheerio": "^1.0.0-rc.2", "cookie": "^0.3.1", "debug": "^2.3.2", "mkdirp": "^0.5.1", "only": "0.0.2", "request": "^2.81.0", "ua-string": "^1.1.0", "zhimg": "^1.3.0" }, "devDependencies": { "chai": "^3.5.0", "gitbook-cli": "^2.3.0", "gitbook-plugin-highlight": "^2.0.2", "mocha": "^2.4.5" }, "files": [ "lib/", "index.js" ], "engines": { "node": ">= 6.0.0" } }