Skip to content

Carrie999/poems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tang-poems Build Status

Uses the API from this great article on 今日诗词API.
Feel free to make a PR to add!

Ensure you have Node.js version 8 or higher installed. Then run the following:

Install

npm install tang-poems -g   or  npm install tang-poems 

Usage --global

$ poem --help
  Usage
    $ poem [options]

  Examples
    $ poem     不知江月待何人,但见长江送流水。

  Options
    --all -a     Show all the poems content 

Usage local

const poem = require('tang-poems')
poem()
不知江月待何人,但见长江送流水。

License

MIT © Carrie999

Releases

No releases published

Packages

No packages published