While \"requiring\" non-local NodeJS modules, what is the meaning of slash in module name?
Example:
from ShellJS npm module\'s github page (link: https://github.com
Slash (as it primary use), is just simply used for file paths.
require('shelljs/global') will load script of global.js file.
require('shelljs/make') will load script of make.js file.
However, require('shelljs') will load script of shell.js.
Why? Let's look at the content of package.json: It's "main": "./shell.js" that makes the magic.