🚀 DAY 2 OF LAUNCH WEEK: Unify Your Security Stack with Socket Basics.Learn more →
Socket
Book a DemoInstallSign in
Socket

@solid-integrations/prettier

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-integrations/prettier

An integration with prettier to format code

latest
Source
npmnpm
Version
0.0.200
Version published
Maintainers
2
Created
Source

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

Keywords

solid

FAQs

Package last updated on 30 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts