import-sort-parser-typescript

  • Version 6.0.0
  • Published
  • 10.5 kB
  • 1 dependency
  • ISC license

Install

npm i import-sort-parser-typescript
yarn add import-sort-parser-typescript
pnpm add import-sort-parser-typescript

Overview

An import-sort parser based on the TypeScript parser.

Index

Functions

function formatImport

formatImport: (code: string, imported: IImport, eol?: string) => string;

    function parseImports

    parseImports: (code: string) => IImport[];

      Package Files (1)

      Dependencies (1)

      Dev Dependencies (14)

      Peer Dependencies (0)

      No peer dependencies.

      Badge

      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/import-sort-parser-typescript.

      • Markdown
        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/import-sort-parser-typescript)
      • HTML
        <a href="https://www.jsdocs.io/package/import-sort-parser-typescript"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>