Skip to content

jingyuexing/utils-node

Repository files navigation

Utils

this is a utils lib.

Feat

Utils

parse cookie string

parse cookie string

generator DOM struct

Automatically generate Document Object Model destructuring

generator duration

Generate the time for the specified date

Emit

custom event type

typeis

More accurate data type determination

IPv4 parse

automatically resolve IPv4 addresses or convert IPv4 addresses to decimal numbers

logger

Log tool function, currently only supports browsers.You can use this function to decide whether to report log data or not

object

Some operations on the object, such as renaming the key

query string parse

Parse URL's query parameter string

string process

string processing utils

Install

npm install @jingyuexing/utils
# or
pnpm install @jingyuexing/utils
# or
yarn install @jingyuexing/utils

Usage

please see the test