- q@^1.4.1
- acorn@^3.3.0
- lodash@^4.15.0
- walkdir@0.0.11
- ast-types@^0.9.0
- builtin-modules@^1.1.1
- atom-space-pen-views@^2.2.0
Relative Require

Injects module require statements with the correct relative require path
Usage
Drag & drop from the tree view

Right click from the tree view

Using the hotkey ctrl-alt-r

Right click in the editor

Features
- Import project modules with correct relative path
- Import from your projects
package.jsondependencies - Import native node modules;
fs,pathetc. - Infers the import statement syntax (
requireorimport) from the active file contents - Drag and drop from tree view
- Right click a file in the tree view to import
Configuration
| Option | Defaults | Description |
|---|---|---|
| Omit File Extensions | "js", "jsx" | Omit the extension from the require path for these file types |
| Exclude Directories | "^\.", "node_modules", "bower_components" | Exclude these directories from the module search |