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

yzflhez-js-function

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yzflhez-js-function

js常用函数

latest
npmnpm
Version
0.2.3
Version published
Weekly downloads
4
100%
Maintainers
1
Weekly downloads
 
Created
Source

export default { DeepCopy: deepCopy,WebHashFn: webHashFn,GetCookie: getCookie,SetCookie: setCookie,StrToJson: strToJson,ShuziFn: shuziFn,SuZi: susi};

** 版权属于yzflhez@126.com

DeepCopy深度拷贝

WebHashFn获取对应的hash值

GetCookie获取cookie

SetCookie(name, value, expiredays)设置cookie

StrToJson转形式dd=12&sss=343434?ca => {dd:12,sss:343434}

ShuziFn数字转汉子形式

SuZi(val, baifenbi)转千分形式;转百分比

GetClass获取class

GetStyle最终样式

StartMove(oDiv,{width:300,height:300,left:300},3000, 'linear', function(){})js运动

github页面 https://github.com/yzfdldx/node-js-function

npm页面 https://www.npmjs.com/package/yzflhez-js-function

模块引入

~ npm install yzflhez-js-function --save
~ import { DeepCopy } from 'yzflhez-js-function';

Keywords

js

FAQs

Package last updated on 07 Jul 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