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: 8 months 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 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T02:32:11.000Z (almost 3 years ago)
- Last Synced: 2025-01-31T18:42:42.645Z (9 months 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
[](https://github.com/ziv/swiss-knife/actions/workflows/main.yml)
[](https://github.com/ziv/swiss-knife/actions/workflows/codeql-analysis.yml)
[](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)
---

---


