require-js-sort

0.1.5 • Public • Published

require-js-sort package for Atom editor

Simple Atom tool for sorting your "require" and "import x from" by file path.

Example: This ...

import {buy} from "app/js/zoo-manager.js";
import Cage from "app/js/cage.js";
import Animal from "app/js/animal.js";

... will be converted to ...

import Animal from "app/js/animal.js";
import Cage from "app/js/cage.js";
import {buy} from "app/js/zoo-manager.js";

GIF example

Readme

Keywords

Package Sidebar

Install

npm i require-js-sort

Weekly Downloads

0

Version

0.1.5

License

MIT

Last publish

Collaborators

  • zlatohlavecek