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

evil-tool

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evil-tool

some common functions,and some inject function to js data type prototype

latest
Source
npmnpm
Version
0.0.3-dev.18
Version published
Maintainers
0
Created
Source

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
}

doc address

evil-tool-doc

FAQs

Package last updated on 14 Jan 2025

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