wft-utils

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i wft-utils

      Weekly Downloads

      61

      Version

      1.39.0

      License

      MIT

      Unpacked Size

      88.5 kB

      Total Files

      22

      Last publish

      Collaborators

      • wangfutai