Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ziv/swiss-knife

My utilities collection
https://github.com/ziv/swiss-knife

async fp functional-programming https json nodejs process reflect streams strings time typescript utilities

Last synced: 10 days ago
JSON representation

My utilities collection

Awesome Lists containing this project

README

        

# swiss-knife

[![CI](https://github.com/ziv/swiss-knife/actions/workflows/main.yml/badge.svg)](https://github.com/ziv/swiss-knife/actions/workflows/main.yml)
[![CodeQL](https://github.com/ziv/swiss-knife/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/ziv/swiss-knife/actions/workflows/codeql-analysis.yml)
[![codecov](https://codecov.io/gh/ziv/swiss-knife/branch/main/graph/badge.svg?token=R4CB8YJ18S)](https://codecov.io/gh/ziv/swiss-knife)

## Some unrelated words

My utilities collection.

In many cases I found myself writing the same utility functions over and over again in many projects I'm working on.
This repo is a place I'm collecting those tiny functions.

Enjoy using them :)

> :exclamation: While all functions tested and works - part of them simplified for demonstration and not production ready. Use with caution.

```shell
npm i @xpr/swiss-knife
```

## Some more words for tech-ies
* async
* [defer](src/async/defer.md)
* [sleep](src/async/sleep.md)
* fp
* [compose](src/fp/compose.md)
* [curry](src/fp/curry.md)
* [pipe](src/fp/pipe.md)
* http
* [https](src/http/https.md)
* json
* [parse](src/json/parse.md)
* process
* [error-handler](src/process/error-handler.md)
* [signal-handler](src/process/signal-handler.md)
* reflect
* [to-plain](src/reflect/to-plain.md)
* streams
* [from-string](src/streams/from-string.md)
* [to-promise](src/streams/from-string.md)
* strings
* [trim-start](src/strings/trim-start.ts)
* [trim-end](src/strings/trim-end.ts)
* time
* [now](src/time/now.md)
* [timer](src/time/timer.md)
* types
* [functions](src/types/functions.ts)
* [json](src/types/json.ts)

---

![logo](assets/knife-thumb.png)

---

![xpr-swiss-knife](https://badgen.net/github/license/ziv/swiss-knife)
![Open Source Love](https://badges.frapsoft.com/os/v2/open-source.svg)
![@xpr](https://badgen.net/badge/powered%20by/@xpr/pink)