JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 231
  • Score
    100M100P100Q71789F
  • License MIT

Core functionality for dprint.

Package Exports

  • @dprint/core

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@dprint/core) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@dprint/core

The core functionality for dprint.

Contains:

  • Print Items - Plugins use these to declaritively tell the printer how the final file should look like.
  • Global Configuration - Global configuration and its result.
  • formatFileText - Function for formatting the file text.
  • Printer (internal) - Accepts an iterable of print items, resolves the conditions and infos, and decides how to lay out the final text.
  • Writer (internal) - Used by the printer to write out the final text. This is like an advanced string builder.