node-zhihu-daily

A Zhihu Daily CLI reader by Node.js

Usage no npm install needed!

<script type="module">
  import nodeZhihuDaily from 'https://cdn.skypack.dev/node-zhihu-daily';
</script>

README

node-zhihu-daily

node npm version npm

Installation

Prerequisity: Node.js (>=6.x)

$ npm install -g node-zhihu-daily

Usage

Usage: zhihu-daily <command> [option]

Commands:

  run|r       run zhihu daily
  latest|l    fetch latest news
  news|n      fetch previous news via date
  theme|t     fetch theme newspapers
  section|s   fetch zhihu sections
  clear|c     clear cache files
  help [cmd]  display help for [cmd]

Options:

  -h, --help     output usage information
  -V, --version  output the version number

Example

Fetch latest newspaper

latest

Read news

story

story

Fetch theme newspapers

themes

Fetch zhihu sections

sections

Credits

License

MIT