- A debug tool.
$ npm install says
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\'')
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
Copyright (c) 2019-present, Haoyang (Vincent) Wang