0.0.200 • Published 2 years ago

@solid-integrations/prettier v0.0.200

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@solid-integrations/prettier

turborepo size version stage

A sample primitive that is made up for templating with the following options:

createFormatted - Provides a reactive resource - giving the prettier formatted version of the code provided.

Installation

npm install @solid-integrations/prettier
# or
yarn add @solid-integrations/prettier
# or
pnpm add @solid-integrations/prettier

How to use it

const [code, setCode] = createSignal(
  `function terriblyFormatted(     ){      console.log("This code is terribly formatted")}`,
);
const formattedCode = createFormatted(code);

Changelog

See CHANGELOG.md

0.0.200

2 years ago

0.0.100

2 years ago