1.0.10 • Published 2 years ago

handy-tool v1.0.10

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

中文 | English

handy-tool

A set of fast and universal JavaScript/node.js utility functions.

API

  • JSONP for to initiate jsonp requests
  • Storage for local storage security encryption
  • Base64 for Base64 encryption and decryption
  • DataFormat for data operation

Install

npm i handy-tool --save

Usage(Take base64 as an example)

import handyTool from "handy-tool"

let encode = handyTool.base64.encode("123456");
console.log(encode)
let decode = handyTool.base64.decode(encode)
console.log(decode)

Or

import {encode,decode} from "handy-tool"

let encodeString = encode("123456");
console.log(encodeString)
let decodeString = decode(encodeString)
console.log(decodeString)
1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago