# import-sort-style-express

> An import-sort style that groups and sorts by module respecting React modules with relative aliases support.

Latest version **0.1.0** (published 2019-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install import-sort-style-express
pnpm add import-sort-style-express
yarn add import-sort-style-express
bun add import-sort-style-express
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2019-08-30 |
| First published | 2019-08-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Eivs |
| Maintainers | eivs |

## Links

- npm: https://www.npmjs.com/package/import-sort-style-express
- Repository: https://github.com/Eivs/import-sort-style-express
- Homepage: https://github.com/Eivs/import-sort-style-express#readme
- Issues: https://github.com/Eivs/import-sort-style-express/issues
- npm.io page: https://npm.io/package/import-sort-style-express

## Recent versions

- 0.1.0 (latest) — 2019-08-30

## README

# import-sort-style-express

An import-sort style that groups and sorts by module respecting React modules with relative aliases support.

## Configuration

.sortimportrc:

```json
{
  ".js, .jsx": {
    "parser": "babylon",
    "style": "express",
    "options": {
      "common": [
        "react",
        "prop-types",
        "react-router-dom",
        "react-router-config",
        "mobx",
        "mobx-react"
      ],
      "alias": ["constants", "utils", "components", "views"]
    }
  }
}
```

## Result

```jsx
import React, { Component } from "react";
import PropTypes from "prop-types";
import { Link } from "react-router-dom";
import { toJS } from "mobx";
import { inject, observer } from "mobx-react";
import { HEALTH_STATUS, STATUS } from "constants";
import { Dropdown, Table, Tag, Tooltip } from "UIComponents";
import { get } from "lodash";
import {
  ListToolbar,
  ProgressCircle,
  StatusIcon,
  TablePagination,
  TablePlaceholder
} from "components";
import { convertUnit, datetime } from "utils";
import { replaceMark } from "utils/convertString";

import CreateButton from "./Buttons/CreateButton";
import SelectedButtons from "./SelectedButtons";
```

---
_Source: https://npm.io/package/import-sort-style-express · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
