• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

require-js-sort

Sorts required and imported js libs by path
  • #sorting
  • #tool
azlato
0.1.5 215
0
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by