https://github.com/neo-hack/dayjs-plugin-template
dayjs plugin template
https://github.com/neo-hack/dayjs-plugin-template
Last synced: over 1 year ago
JSON representation
dayjs plugin template
- Host: GitHub
- URL: https://github.com/neo-hack/dayjs-plugin-template
- Owner: neo-hack
- License: mit
- Created: 2021-10-23T12:33:09.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T12:22:18.000Z (almost 3 years ago)
- Last Synced: 2025-02-04T19:40:38.727Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 248 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# @aiou/dayjs-plugin-template
*build dayjs plugin lib*
[](https://github.com/neo-hack/dayjs-plugin-template/tree/master) [](https://github.com/neo-hack/dayjs-plugin-template/tree/master) [](https://stackblitz.com/github/neo-hack/dayjs-plugin-template/tree/master)
[Edit on StackBlitz ⚡️](https://stackblitz.com/github/neo-hack/dayjs-plugin-template/tree/master)
## features
- 💪 Type safe - build with `typescript`
## install
> demo usage of this repo
```sh
pnpm i @aiou/dayjs-plugin-template dayjs
```
## usage
### `Hello`
```ts
import Hello from '@aiou/dayjs-plugin-template'
dayjs.extend(Hello)
dayjs.hello().say()
```
params of `hello()`
- `word`