0.12.0 • Published 25 days ago

@palett/projector v0.12.0

Weekly downloads
83
License
MIT
Repository
github
Last release
25 days ago

says

A light and simple debug tool.

Highlights

  • A debug tool.

Install

$ npm install says

Usage

Simple

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

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

Copyright (c) 2019-present, Haoyang (Vincent) Wang

0.12.0

25 days ago

0.11.0

2 years ago

0.11.1

2 years ago

0.11.2

2 years ago

0.11.3

2 years ago

0.11.4

2 years ago

0.11.6

2 years ago

0.9.19

2 years ago

0.10.1

2 years ago

0.10.2

2 years ago

0.10.4

2 years ago

0.10.5

2 years ago

0.9.13

2 years ago

0.9.14

2 years ago

0.9.15

2 years ago

0.9.10

3 years ago

0.9.11

2 years ago

0.9.16

2 years ago

0.9.18

2 years ago

0.9.7

3 years ago

0.9.9

3 years ago

0.9.6

3 years ago

0.9.0

3 years ago

0.9.2

3 years ago

0.9.1

3 years ago

0.9.3

3 years ago

0.8.18

3 years ago

0.8.17

3 years ago

0.8.16

3 years ago

0.8.15

3 years ago

0.8.9

3 years ago

0.8.8

3 years ago

0.8.5

3 years ago

0.8.7

3 years ago

0.8.12

3 years ago

0.8.11

3 years ago

0.8.14

3 years ago

0.8.13

3 years ago

0.8.10

3 years ago

0.7.10

4 years ago

0.7.9

4 years ago

0.7.8

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.7.7

4 years ago

0.7.6

4 years ago

0.7.5

4 years ago

0.7.4

4 years ago

0.7.3

4 years ago

0.7.2

4 years ago

0.7.1

4 years ago

0.7.0

4 years ago

0.6.3

4 years ago

0.6.2

4 years ago

0.6.1

4 years ago

0.6.0

4 years ago

0.5.13

4 years ago

0.5.11

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.2

4 years ago

0.5.0

4 years ago

0.5.1

4 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.0-alpha.1

4 years ago

0.4.0-alpha.0

4 years ago

0.3.6

4 years ago

0.3.7

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.4.2

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.16

4 years ago

0.2.15

4 years ago

0.2.14

4 years ago

0.2.13

4 years ago

0.2.12

4 years ago

0.2.11

4 years ago

0.2.7

4 years ago

0.2.9

4 years ago

0.2.10

4 years ago

0.2.6

4 years ago

0.2.3

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago