An open API service indexing awesome lists of open source software.

https://github.com/jingyuexing/utils-node


https://github.com/jingyuexing/utils-node

cache cookie types utils-library

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          

# Utils
this is a utils lib.

## Feat

**Utils**

- [parse cookie string](packages/utils/src/cookie)
- [generator DOM struct](packages/utils/src/DOM)
- [generator duration](packages/utils/src/duration)
- [emit](packages/utils/src/emit)
- [IPv4 parse](packages/utils/src/IPv4)
- [logger](packages/utils/src/logger)
- [object](packages/utils/src/object)
- [query string parse](packages/utils/src/query)
- [string process](packages/utils/src/string)
- [typeis ](packages/utils/src/typeis)
- [browser fingerprint](packages/utils/src/fingerprint)

## 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

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

# Usage

please see the test