Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/ziv/swiss-knife
- Owner: ziv
- License: mit
- Created: 2021-05-05T07:49:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T02:32:11.000Z (almost 2 years ago)
- Last Synced: 2024-12-18T14:51:24.446Z (23 days ago)
- Topics: async, fp, functional-programming, https, json, nodejs, process, reflect, streams, strings, time, typescript, utilities
- Language: TypeScript
- Homepage:
- Size: 1.82 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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)