@dprint/core
TypeScript icon, indicating that this package has built-in type declarations

0.9.0 • Public • Published

@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.

/@dprint/core/

    Package Sidebar

    Install

    npm i @dprint/core

    Weekly Downloads

    49

    Version

    0.9.0

    License

    MIT

    Unpacked Size

    9.77 kB

    Total Files

    5

    Last publish

    Collaborators

    • dsherret