Skip to main content

This library provides a dprint configuration for formatting TypeScript source code using non-insane brace style.

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
JSR Score
76%
Published
4 months ago (0.0.3)
variable dprintConfig.default

Properties

typescript: { whileStatement.bracePosition: "nextLine"; arrayExpression.trailingCommas: "onlyMultiLine"; quoteStyle: "preferSingle"; quoteProps: "asNeeded"; bracePosition: "nextLine"; preferHanging: true; nextControlFlowPosition: "nextLine"; }
plugins: unknown[]

Add Package

deno add jsr:@axhxrx/dprint-config

Import symbol

import { dprintConfig } from "@axhxrx/dprint-config";
const { default } = dprintConfig;

---- OR ----

Import directly with a jsr specifier

import { dprintConfig } from "jsr:@axhxrx/dprint-config";
const { default } = dprintConfig;

Add Package

npx jsr add @axhxrx/dprint-config

Import symbol

import { dprintConfig } from "@axhxrx/dprint-config";
const { default } = dprintConfig;

Add Package

yarn dlx jsr add @axhxrx/dprint-config

Import symbol

import { dprintConfig } from "@axhxrx/dprint-config";
const { default } = dprintConfig;

Add Package

pnpm dlx jsr add @axhxrx/dprint-config

Import symbol

import { dprintConfig } from "@axhxrx/dprint-config";
const { default } = dprintConfig;

Add Package

bunx jsr add @axhxrx/dprint-config

Import symbol

import { dprintConfig } from "@axhxrx/dprint-config";
const { default } = dprintConfig;