codigo0/backend/node_modules/kuler/README.md
planetazuzu 5d7a6500fe refactor: Fase 1 - Clean Architecture, refactorización modular y eliminación de duplicidades
-  Ticket 1.1: Estructura Clean Architecture en backend
-  Ticket 1.2: Schemas Zod compartidos
-  Ticket 1.3: Refactorización drugs.ts (1362 → 8 archivos modulares)
-  Ticket 1.4: Refactorización procedures.ts (3583 → 6 archivos modulares)
-  Ticket 1.5: Eliminación de duplicidades (~50 líneas)

Cambios principales:
- Creada estructura Clean Architecture en backend/src/
- Schemas Zod compartidos en backend/src/shared/schemas/
- Refactorización modular de drugs y procedures
- Utilidades genéricas en src/utils/ (filter, validation)
- Eliminados scripts obsoletos y documentación antigua
- Corregidos errores: QueryClient, import test-error-handling
- Build verificado y funcionando correctamente
2026-01-25 21:09:47 +01:00

41 lines
903 B
Markdown

# kuler
Kuler is small and nifty node module that allows you to create terminal based
colors using hex color codes, just like you're used to doing in your CSS. We're
in a modern world now and terminals support more than 16 colors so we are stupid
to not take advantage of this.
## Installation
The package is released in the public npm registry and can be installed by
running:
```
npm install --save kuler
```
## Usage
To color a string simply pass it the string you want to have colored as first
argument and the color as hex as second argument:
```js
'use strict';
const kuler = require('kuler');
const str = kuler('foo', '#FF6600');
```
The color code sequence is automatically terminated at the end of the string so
the colors do no bleed to other pieces of text. So doing:
```js
console.log(kuler('red', '#F00'), 'normal');
```
Will work without any issues.
## License
[MIT](LICENSE)