https://github.com/irychen/fortea
some tools for js, save your time for a cup of tea ☕️!
https://github.com/irychen/fortea
js tools typescript utils
Last synced: about 1 year ago
JSON representation
some tools for js, save your time for a cup of tea ☕️!
- Host: GitHub
- URL: https://github.com/irychen/fortea
- Owner: irychen
- License: mit
- Created: 2024-01-21T15:36:54.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T08:11:24.000Z (over 1 year ago)
- Last Synced: 2025-04-03T18:52:15.561Z (about 1 year ago)
- Topics: js, tools, typescript, utils
- Language: TypeScript
- Homepage:
- Size: 240 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
A comprehensive TypeScript function library offering a wide range of utilities.
# fortea
[](https://npmjs.com/package/fortea) [](https://npmjs.com/package/fortea)
## Description
some tools for js, save your time for a cup of tea ☕️!
`fortea` is a comprehensive TypeScript function library offering a wide range of utilities, from basic type checking to
JSON querying and encoding transformations. Below is a detailed guide on how to use some of the key functions in this
library.
## Features
- lightweight, zero dependencies
- well tested, with huge test coverage
- easy to use, simple and clear API
## Install
```bash
npm install fortea
```
## Tools
- [arrayUpsert](https://github.com/irychen/fortea/blob/main/src/arrayUpsert/index.ts)
- [base64](https://github.com/irychen/fortea/blob/main/src/base64/index.ts)
- [cloneArrayShallow](https://github.com/irychen/fortea/blob/main/src/cloneArrayShallow/index.ts)
- [cloneDeep](https://github.com/irychen/fortea/blob/main/src/cloneDeep/index.ts)
- [cloneShallow](https://github.com/irychen/fortea/blob/main/src/cloneShallow/index.ts)
- [delayAsync](https://github.com/irychen/fortea/blob/main/src/delayAsync/index.ts)
- [isArray](https://github.com/irychen/fortea/blob/main/src/isArray/index.ts)
- [isBoolean](https://github.com/irychen/fortea/blob/main/src/isBoolean/index.ts)
- [isClient](https://github.com/irychen/fortea/blob/main/src/isClient/index.ts)
- [isEmpty](https://github.com/irychen/fortea/blob/main/src/isEmpty/index.ts)
- [isFunc](https://github.com/irychen/fortea/blob/main/src/isFunc/index.ts)
- [isInteger](https://github.com/irychen/fortea/blob/main/src/isInteger/index.ts)
- [isNil](https://github.com/irychen/fortea/blob/main/src/isNil/index.ts)
- [isNumber](https://github.com/irychen/fortea/blob/main/src/isNumber/index.ts)
- [isObject](https://github.com/irychen/fortea/blob/main/src/isObject/index.ts)
- [isString](https://github.com/irychen/fortea/blob/main/src/isString/index.ts)
- [isTokenExpired](https://github.com/irychen/fortea/blob/main/src/isTokenExpired/index.ts)
- [map](https://github.com/irychen/fortea/blob/main/src/map/index.ts)
- [mergePath](https://github.com/irychen/fortea/blob/main/src/mergePath/index.ts)
- [queryJsonStr](https://github.com/irychen/fortea/blob/main/src/queryJsonStr/index.ts)
- [reactJsxJoin](https://github.com/irychen/fortea/blob/main/src/reactJsxJoin/index.ts)
- [skipTake](https://github.com/irychen/fortea/blob/main/src/skipTake/index.ts)
- [timeDuration](https://github.com/irychen/fortea/blob/main/src/timeDuration/index.ts)
- [toBoolean](https://github.com/irychen/fortea/blob/main/src/toBoolean/index.ts)
- [toNumber](https://github.com/irychen/fortea/blob/main/src/toNumber/index.ts)
- [toPercentage](https://github.com/irychen/fortea/blob/main/src/toPercentage/index.ts)