# @palett/projector

> Projector projects input number to color within pre-defined bound

Latest version **0.12.28** (published 2025-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @palett/projector
pnpm add @palett/projector
yarn add @palett/projector
bun add @palett/projector
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.12.28 |
| Published | 2025-03-23 |
| First published | 2020-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=22.0.0 |
| Dependencies | 3 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Hoyeung Wong |
| Maintainers | hoyeung |
| Keywords | debug, chalk |

## Links

- npm: https://www.npmjs.com/package/@palett/projector
- Repository: https://github.com/hoyeungw/palett
- Homepage: https://github.com/hoyeungw/palett/says#readme
- Issues: https://github.com/hoyeungw/palett/says
- npm.io page: https://npm.io/package/@palett/projector

## Dependencies (3)

- [@palett/dye](https://npm.io/package/@palett/dye.md) ^0.12.28
- [@palett/pres](https://npm.io/package/@palett/pres.md) ^0.12.28
- [@palett/convert](https://npm.io/package/@palett/convert.md) ^0.12.28

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.12.28 (latest) — 2025-03-23
- 0.12.27 — 2025-03-23
- 0.12.26 — 2025-03-19
- 0.12.25 — 2025-03-19
- 0.12.24 — 2025-03-18
- 0.12.23 — 2025-03-18
- 0.12.22 — 2025-03-17
- 0.12.21 — 2025-03-17
- 0.12.20 — 2025-03-16
- 0.12.19 — 2025-03-15
- 0.12.18 — 2025-03-15
- 0.12.17 — 2025-03-14
- 0.12.16 — 2025-03-13
- 0.12.15 — 2025-03-13
- 0.12.14 — 2025-03-12
- … 113 more at https://npm.io/package/@palett/projector/versions

## README

## says

### A light and simple debug tool.

<p align="center">
  <a href="https://npmcharts.com/compare/says?minimal=true"><img src="https://img.shields.io/npm/dm/says.svg" alt="Downloads"></a>
  <a href="https://www.npmjs.com/package/says"><img src="https://img.shields.io/npm/v/says.svg" alt="Version"></a>
  <a href="https://www.npmjs.com/package/says"><img src="https://img.shields.io/npm/l/says.svg" alt="License"></a>
</p>

## Highlights

- A debug tool.

## Install

```console
$ npm install says
```

## Usage

### Simple

```js
import { Says } from '@palett/projector'
import { greys, palette } from 'spettro'

const castList = {
  client: palette.Red.base,
  server: palette.Purple.base,
  stranger: greys.Grey.base
}

const debug = Says.build(castList)

debug.says('client', '\'Shakespeare\'')
debug.says('server', '\'Dickens\'')
```

### Factorial with pipeline operator

```js
import { Says } from '@palett/projector'
import { greys, palette } from 'spettro'

const castList = {
  client: palette.Red.base,
  server: palette.Purple.base,
  stranger: greys.Grey.base
}

const debug = Says.build(castList)
const says = {
  client: debug.credit('chef'),
  server: debug.credit('aboyeur')
}
'Shakespeare' |> says.client
'Dickens' |> says.server
```

## License

[MIT](http://opensource.org/licenses/MIT)

Copyright (c) 2019-present, Haoyang Wang

---
_Source: https://npm.io/package/@palett/projector · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
