wft-utils
v1.39.0
Published
The commonly used tool functions in daily development
Downloads
244
Maintainers
Readme
wft-utils
They are commonly used tools and methods in their own projects
Installation
$ npm install wft-utils --save
Usage
Full introduction:
import * as wftUtils from 'wft-utils'
// Take obtaining the current time as an example
const { currTime, currTimeStamp } = wftUtils.getCurrTime()
or
const wftUtils = require('wft-utils')
// Take obtaining the current time as an example
const { currTime, currTimeStamp } = wftUtils.getCurrTime()
Introduction on demand:
import { getCurrTime } from 'wft-utils'
// Take obtaining the current time as an example
const { currTime, currTimeStamp } = getCurrTime()
or
const { getCurrTime } = require('wft-utils')
// Take obtaining the current time as an example
const { currTime, currTimeStamp } = getCurrTime()