「音游狗老黄历」生成器核心。
npm
npm i @mugtungshing/core
yarn
yarn add @mugtungshing/core
<script type="module">
import { Tungshing, Identifier } from 'https://cdn.skypack.dev/@mugtungshing/core'
</script>
new Tungshing(new Identifier(Math.random().toString()), new Date(), 'Asia/Shanghai') // 生成 GMT+8 的今日黄历
注意:这并不是一个很好的范例,随机种子需要对每个用户独立唯一,且无法通过用户 ID 推出。
欢迎贡献!
git checkout -b feature/user-update-dict
)git commit -m 'feat(dict): add SDVX'
)git push origin feature/user-update-dict
)需要向词典添加内容,请参见
dict.json
MIT
Generated using TypeDoc