{"_id":"@azu/organize-imports-cli","name":"@azu/organize-imports-cli","dist-tags":{"latest":"0.12.0"},"versions":{"0.12.0":{"name":"@azu/organize-imports-cli","version":"0.12.0","description":"VS Code's 'Organize imports' executable from command line","bin":{"organize-imports-cli":"cli.js"},"repository":{"type":"git","url":"git+https://github.com/thorn0/organize-imports-cli.git"},"author":{"name":"Georgii Dolzhykov"},"license":"MIT","dependencies":{"chalk":"^4.0.0","editorconfig":"^0.15.3","ts-morph":"^25.0.1","tsconfig":"^7.0.0"},"devDependencies":{"@types/node":"^22.13.4","escape-string-regexp":"^4.0.0","jest":"^28.1.0","strip-ansi":"^6.0.0"},"scripts":{"all-checks":"yarn test && yarn run typecheck","test":"jest","typecheck":"tsc --checkJs --allowJs --noEmit --strict cli.js"},"packageManager":"yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca","_id":"@azu/organize-imports-cli@0.12.0","gitHead":"792cd80a47563daf73bed6fbc043e8e7185883ad","bugs":{"url":"https://github.com/thorn0/organize-imports-cli/issues"},"homepage":"https://github.com/thorn0/organize-imports-cli#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-nJSfR7AuVCOi9JFlxf1Jxvj2YUmXwzAuIv5wpbRo8r9nuH7liG8Js/XDkWbFnxOZXpSpUnyw2rzs9wIrPdQaZg==","shasum":"f4ae28b3b0c25321a150963c29d33a43130cab5e","tarball":"https://registry.npmjs.org/@azu/organize-imports-cli/-/organize-imports-cli-0.12.0.tgz","fileCount":6,"unpackedSize":8217,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIE5YGq98nagr2iUkAg2WGY3WoS/KM/6WC5Ump7Lm+PsXAiEA90GiGm3C7fU5FY7csZ3zZFSlStm8rOcLJLC1JM1a1sE="}]},"_npmUser":{"name":"azu","email":"azuciao@gmail.com"},"directories":{},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/organize-imports-cli_0.12.0_1739547898661_0.2657097419838721"},"_hasShrinkwrap":false}},"time":{"created":"2025-02-14T15:44:58.560Z","0.12.0":"2025-02-14T15:44:58.868Z","modified":"2025-02-14T15:44:59.158Z"},"maintainers":[{"name":"azu","email":"azuciao@gmail.com"}],"description":"VS Code's 'Organize imports' executable from command line","homepage":"https://github.com/thorn0/organize-imports-cli#readme","repository":{"type":"git","url":"git+https://github.com/thorn0/organize-imports-cli.git"},"author":{"name":"Georgii Dolzhykov"},"bugs":{"url":"https://github.com/thorn0/organize-imports-cli/issues"},"license":"MIT","readme":"# organize-imports-cli\n\n> VS Code's '[Organize imports](https://code.visualstudio.com/updates/v1_23#_javascript-and-typescript-organize-imports)' executable from command line\n\nPlays nicely with [Prettier](https://prettier.io) and [lint-staged](https://github.com/okonet/lint-staged):\n\n```json\n\"lint-staged\": {\n  \"*.ts\": [\n    \"organize-imports-cli\",\n    \"prettier --write\"\n  ]\n}\n```\n\n## Usage\n\n```console\n> organize-imports-cli [--list-different] files...\n```\n\nFiles can be specific `ts` and `js` files or `tsconfig[.*].json`, in which case the whole project is processed.\n\nFiles containing the substring `// organize-imports-ignore` are skipped.\n\nThe `--list-different` flag prints a list of files with unorganized imports. No files are modified.\n","readmeFilename":"README.md"}