wft-utils

1.31.0 • Public • Published

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()

Package Sidebar

Install

npm i wft-utils

Weekly Downloads

16

Version

1.31.0

License

MIT

Unpacked Size

82.7 kB

Total Files

22

Last publish

Collaborators

  • wangfutai