wft-utils

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

/wft-utils/

    Package Sidebar

    Install

    npm i wft-utils

    Weekly Downloads

    124

    Version

    1.34.0

    License

    MIT

    Unpacked Size

    84.8 kB

    Total Files

    22

    Last publish

    Collaborators

    • wangfutai