不知道有木有重复造轮子,最简单的星座模块
 发布于 12 年前  作者 XadillaX  5310 次预览  最后一次回复是 12 年前  来自  

只是按输入日期来输出星座。本来是用于项目中的推送 tag 的,根据用户生日来生成其星座。

目前支持中文和英文,欢迎 forkpull

$ npm install node-constellation
var constellation = require("node-constellation");
var cons1 = constellation(12, 19, "zh-cn");
var cons2 = constellation(11, 14, "en");

github 的 repo:https://github.com/XadillaX/node-constellation

3 回复