Crates.io | jisort |
lib.rs | jisort |
version | 0.0.4 |
source | src |
created_at | 2023-08-22 14:53:51.098767 |
updated_at | 2023-08-22 14:53:51.098767 |
description | A JavaScript / Typescript import sorter |
homepage | |
repository | https://github.com/Valentin271/jisort |
max_upload_size | |
id | 951114 |
size | 47,220 |
A JavaScript / Typescript import sorter.
Originally built specifically for JVS.
Just running jisort
will search and sort files recursively from the current folder.
You can alter that behavior by specifying the folder you want to sort with jisort <project-folder>
.
You can also run it against a single file with jisort <file>
.
You can use the --globs
option to override the default ones.
The default globs match every js
, jsx
, ts
or tsx
file.
jisort will include:
jisort will not include:
.gitignore
(see full list here)NOTE: List included files with jisort --list
.
See jisort --help
for all options and documentation.
Method | Command |
---|---|
cargo | cargo install jisort |
source | cargo install --git https://github.com/Valentin271/jisort |
You can download the appropriate binary for your platform on the release page.