Skip to content

BoogeeDoo/chinese-poetries-english-translation-json

Repository files navigation

Chinese Poetries - English Translation JSON

cityhash cityhash Unit Test License Star at GitHub

English translation for some of Chinese poetries.

Installation

$ npm install --save chinese-poetries-english-translation-json

Usage

const poetries = require('chinese-poetries-english-translation-json');

console.log(poetries[0]);

// {                                                                              
//   url: 'http://www.chinese-poems.com/bj1.html',                                
//   title: 'Night Snow',                                                         
//   author: 'Bai Juyi',                                                          
//   content: [                                                                   
//     'I was surprised my quilt and pillow were cold,',                                                                                                          
//     "I see that now the window's bright again.",                               
//     'Deep in the night, I know the snow is thick,',                                                                                                            
//     'I sometimes hear the sound as bamboo snaps.'                              
//   ]                                                                            
// } 

Contribution

You're welcome to make pull requests.

「雖然我覺得不怎麼可能有人會關注我」