JSPM

@roots/ink-prettier

3.0.39-alpha.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 100
  • Score
    100M100P100Q44912F
  • License MIT

Prettier component for React Ink

Package Exports

  • @roots/ink-prettier

Readme

Bud

MIT License Follow Roots

@roots/ink-prettier

Overview

Prettier component for React Ink applications.

Installation

yarn add @roots/ink-prettier

Usage

import React from 'react'
import {Box, Text} from 'ink'
import {Prettier} from '@roots/ink-prettier'

const component = () => (
  <Prettier parser="babel" singleQuote>
    console.log('hello, world!')
  </Prettier>
)

Contributing

Contributions are welcome from everyone.

We have contributing guidelines to help you get started.

Bud sponsors

Help support our open-source development efforts by becoming a patron.

Community

Keep track of development and community news.