Atom Packages Directory

a package directory for a text editor of the 21st Century

Node Resolver by Hugh Kennedy

Install with:
    apm install node-resolver

node-resolver stable

Atom plugin to jump to a module’s file from its require statement.



  1. Move your cursor to a require statement.
  2. Open the command palette and run the “Node Resolver: Open Selected Dependencies” command.
  3. The selected file will open.

Note that you can also select a range of text and run the command to open up all of the files required within that range.

If you’d like to add a shortcut for this, I’d recommend adding the following to your keymap.cson:

cson '.workspace': 'ctrl-alt-o': 'node-resolver:open-selected-dependencies'


MIT. See for details.

Keywords: atom, require, plugin, resolve, file, navigation Suggest keywords
Fork me on GitHub