chinese-year
get the zodiac animal name of a certain year
Install
npm install --save chinese-year
Usage
const chineseYear = chineseYearyears//=> ['Rat', 'Ox', ...] chineseYear//=> 'Dragon'
API
.getAnimal(year: number):string
.year:array
get zodiac animal name of a year number
License
MIT © Song Wang