Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iolave/ts-utils
Typescript and Javascript general purpose utilities packed into a single library
https://github.com/iolave/ts-utils
javscript-library jsr typescript-library utility-library
Last synced: 9 days ago
JSON representation
Typescript and Javascript general purpose utilities packed into a single library
- Host: GitHub
- URL: https://github.com/iolave/ts-utils
- Owner: iolave
- License: apache-2.0
- Created: 2024-09-06T16:15:18.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-10T15:32:06.000Z (4 months ago)
- Last Synced: 2024-11-06T23:23:53.527Z (about 2 months ago)
- Topics: javscript-library, jsr, typescript-library, utility-library
- Language: TypeScript
- Homepage: https://jsr.io/@iolave/utils/doc
- Size: 52.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Utils: General purpose utilities packed into a single library
## Install this library
```bash
# npm (one of the below, depending on your package manager)
npx jsr add @iolave/utils
yarn dlx jsr add @iolave/utils
pnpm dlx jsr add @iolave/utils
bunx jsr add @iolave/utils
# deno
deno add @iolave/utils
```## Library documentation
Documentation can be found at [jsr:@iolave/utils](https://jsr.io/@iolave/utils/doc).## Features
- Golang-like error handling utilities: `@iolave/utils/results`.
- Functions related utilities (like making promises and sync functions safe): `@iolave/utils/functions`.
- Streams utilities (like a asynchornous version of the `fs.WriteStream.write` method): `@iolave/utils/streams`.
- File related utilities: `@iolave/utils/files`.## Development
*Install dependencies:*
```
npm install
```*Run tests:*
```
npm coverage # or npm test
```