https://github.com/ulisesgascon/micro-utilities
A bunch of small utilities that I reuse across projects
https://github.com/ulisesgascon/micro-utilities
Last synced: 10 months ago
JSON representation
A bunch of small utilities that I reuse across projects
- Host: GitHub
- URL: https://github.com/ulisesgascon/micro-utilities
- Owner: UlisesGascon
- License: mit
- Created: 2023-02-18T15:35:22.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-15T16:15:12.000Z (over 2 years ago)
- Last Synced: 2025-07-21T16:47:02.039Z (11 months ago)
- Language: JavaScript
- Size: 2.16 MB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Micro Utilities
A bunch of small utilities that I reuse across projects
## What's inside?
This turborepo uses [npm](https://www.npmjs.com/) as a package manager. It includes the following packages/apps:
### Apps and Packages
#### Published
- [@ulisesgascon/normalize-boolean](/packages/normalize-boolean/README.md) - _Simple and very opinionated wrapper to manage Boolean conversions_
- [@ulisesgascon/is-different](/packages/is-different/README.md) - _A limited way to compare two values and return true if they are different_
- [@ulisesgascon/array-to-chunks](/packages/array-to-chunks/README.md) - _A simple way to slice an array into chunks_
- [@ulisesgascon/simplify-object](/packages/simplify-object/README.md) - _A simple way to return a new object with less properties_
- [@ulisesgascon/soft-assign-deep-property](/packages/soft-assign-deep-property/README.md) - _A simple way to assign a deep property to an object without overwriting any existing properties within it._
- [@ulisesgascon/text-tags-manager](/packages/text-tags-manager/README.md) - _Utils to manage text tags more easy to use, you know what I mean._
- [@ulisesgascon/string-to-array](/packages/string-to-array/README.md) - _A simple and opinionated way to convert a string to an array._
- [@ulisesgascon/rss-feed-parser](/packages/rss-feed-parser/README.md) - _A simple and easy to use RSS feed parser._
#### Internal
- `eslint-config-custom`: `eslint` configurations (includes `eslint-config-next` and `eslint-config-prettier`)
- `tsconfig`: `tsconfig.json`s used throughout the monorepo
Each package is 100% [TypeScript](https://www.typescriptlang.org/).
### Utilities
This turborepo has some additional tools already setup for you:
- [TypeScript](https://www.typescriptlang.org/) for static type checking
- [ESLint](https://eslint.org/) for code linting
- [Prettier](https://prettier.io) for code formatting
### Build
To build all packages, run the following command:
```
cd micro-utilities
npm run build
```
### Lint
To lint all packages, run the following command:
```
cd micro-utilities
npm run dev
```
### Test
To test all packages, run the following command:
```
cd micro-utilities
npm run test
npm run test:coverage
npm run test:watch
```
### Benchmark
To benchmark all packages, run the following command:
```
cd micro-utilities
npm run benchmark
```
## Useful Links
Learn more about the power of Turborepo:
- [Tasks](https://turbo.build/repo/docs/core-concepts/monorepos/running-tasks)
- [Caching](https://turbo.build/repo/docs/core-concepts/caching)
- [Remote Caching](https://turbo.build/repo/docs/core-concepts/remote-caching)
- [Filtering](https://turbo.build/repo/docs/core-concepts/monorepos/filtering)
- [Configuration Options](https://turbo.build/repo/docs/reference/configuration)
- [CLI Usage](https://turbo.build/repo/docs/reference/command-line-reference)