Wondering what’s next for npm?Check out our public roadmap! »

    quot

    0.0.19 • Public • Published

    quot

    A light and simple debug tool.

    Downloads Version License

    Highlights

    • A debug tool.

    Install

    $ npm install quot

    Usage

    Simple

    import { Quot } from 'quot'
    import { greys, palette } from 'spettro'
     
    const castList = {
      client: palette.red.base,
      server: palette.purple.base,
      stranger: greys.grey.base
    }
     
    const debug = Quot.build(castList)
     
    debug.says('client', '\'Shakespeare\'')
    debug.says('server', '\'Dickens\'')

    Factorial with pipeline operator

    import { Quot } from 'quot'
    import { greys, palette } from 'spettro'
     
    const castList = {
      client: palette.red.base,
      server: palette.purple.base,
      stranger: greys.grey.base
    }
     
    const debug = Quot.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

    Keywords

    Install

    npm i quot

    DownloadsWeekly Downloads

    0

    Version

    0.0.19

    License

    MIT

    Unpacked Size

    7.67 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar