Buttery ComponentsHeadless, accessible & style method agnostic React components that you can import, re-export and/or copy & paste
Buttery CommandsBuild a TS CLI the same way you would define NextJS or Remix routes
Buttery DocsCo-located, SSR ready, dead simple .md & .mdx docs
Buttery TokensEasily create, use, and scale a pure CSS design token system with 100% type-safety
Buttery LogsIsomorphic logging for full-stack apps
Buttery MetaSSR'd meta tags for your SSR'd React app
@buttery/logs
A isomorphic class that logs messages and information at various log levels. Works in any JS context (node,edge, browser, etc...) or anywhere JS can be run.
Installation
yarn add @buttery/tsconfig
Usage
Please view the @buttery/logs documentation
Dependencies
No @buttery intra-dependencies.
Exports
ButteryLogger
printAsBullets
Scripts
yarn build
Builds the project using the Typescript compiler tsc against the tsconfig.build.json tsconfig.
yarn dev
Runs the yarn build command in watch mode. Any changes will be run through the compiler and output into the dist directory
