Launch Week Day 1: Socket for Jira Is Now Available.Learn More
Socket
Book a DemoSign in
Socket

js-dev-assistant

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-dev-assistant

JS Developer assistant - manipulate over source files - refactor, view, etc. not leaving a terminal

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

js-dev-assistant NPM version

CLI refactor code for JavaScript developers

Install

$ npm install --global js-dev-assistant

CLI

$ js-dev-assistant --help

Manipulate over source files - refactor, view, etc. not leaving a terminal (dev-assistant v2.0.0)

USAGE dev-assistant [OPTIONS] [COMMAND]

ARGUMENTS

  COMMAND    An optional command name (refactor, view...), will be prompted interactively if not provided    

OPTIONS

                                      --root    Root folder to search files on
                                  -f, --file    source file name
                                      --hook    custom hook to perform over changed file
                          -p, --prettierHook    perform prettier format command over changed file 
                     --viewAfterManipulation    Run view file command after manipulation over file

You can provide a command name and file when issuing a command or by choosing from interactive prompts. Filename also can be choosen from interactive prompt, or you can use --file option to specify source file.

Notes:

You can use the following convenient aliases (instead of js-dev-assistant): dev-assistant, devasis, deva, refactorer.

In view mode you can:

  • scroll a content using arrow keys
  • press Ctrl+C or q key in the keyboard in order to exit from program

Tips:

  • to format modified file with prettier you can use --prettier-hook flag
  • to run a custom command after job is performed you can use the --hook flag, (for example, --hook "npm test")

Demo

demo-demo

More examples and tips

License

MIT © Rushan Alyautdinov

Keywords

dev

FAQs

Package last updated on 10 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts