New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

handsome-helpers

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

handsome-helpers

helps methods for browser;for utils;for format

latest
npmnpm
Version
1.5.2
Version published
Maintainers
1
Created
Source

所有帮助方法的集合

时间方法(helperFormat)

引用

import { getStandardTimer, formatter } from 'handsome-helpers';

调用
getStandardTimer
param {Date} date: 时间函数构造实例化
return {Object}

example getStandardTimer(new Date)

formatter
param {number} timestamp: 时间戳
param {string} formatAdapter: yyyy-MM-dd HH:mm:ss | yyyy-MM-dd | yyyy-MM-dd HH
第二个参数默认yyyy-MM-dd

example formatter(1543889636704, 'yyyy-MM-dd')

Keywords

handsome-helpers

FAQs

Package last updated on 22 Dec 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts