@solid-integrations/prettier
TypeScript icon, indicating that this package has built-in type declarations

0.0.200 • Public • Published

Solid Primitives prettier

@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

Readme

Keywords

Package Sidebar

Install

npm i @solid-integrations/prettier

Weekly Downloads

0

Version

0.0.200

License

MIT

Unpacked Size

7.56 kB

Total Files

6

Last publish

Collaborators

  • thomas_beer
  • davedbase