0.1.5 • Published 6 years ago

require-js-sort v0.1.5

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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