Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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 ☕️!

Awesome Lists containing this project

README

        


fortea logo

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)