evil-tool
v0.0.3-dev.18
Published
some common functions,and some inject function to js data type prototype
Readme
evil-tool
some common functions,and some inject functions to js data type prototype
Usage
esm
import {wait,urlSearch,CusLog} from "evil-tool"cjs
const {wait,urlSearch,CusLog} = require("evil-tool")demo
async function test(){
const searchObj = urlSearch("https://www.baidu.com/s?ie=UTF-8")
console.log(searchObj.getProperty("ie")) //UTF-8
await wait(2000) //sync delay 2000ms
// CusLog class only support browser environment
CusLog.info('hello') // press f12,check browser Console
}