Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 2 months 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 (11 months ago)
- Default Branch: main
- Last Pushed: 2024-10-09T06:19:25.000Z (3 months ago)
- Last Synced: 2024-10-09T06:26:30.964Z (3 months ago)
- Topics: js, tools, typescript, utils
- Language: TypeScript
- Homepage:
- Size: 234 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
[![NPM version](https://img.shields.io/npm/v/fortea.svg?style=flat)](https://npmjs.com/package/fortea) [![NPM downloads](https://img.shields.io/npm/dm/fortea.svg?style=flat)](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)
- [classNames](https://github.com/irychen/fortea/blob/main/src/classNames/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)