js-ant
v1.0.1
Published
js utils
Downloads
12
Readme
Install
yarn add js-antd
Usage
Markdown
import { markdown } from 'js-ant'
console.log(
markdown.render('## Markdown')
)
Date
import { formatDate, formatDateTime } from 'js-ant'
// 2020-11-11
console.log(
formatDate(new Date())
)
// 2020-11-11 11:11:11
console.log(
formatDateTime(new Date())
)