Skip to content

Instantly share code, notes, and snippets.

@jbaranski
Created August 1, 2020 14:49
Show Gist options
  • Save jbaranski/f886f28e22eeae859c42d1c2b2f29394 to your computer and use it in GitHub Desktop.
Save jbaranski/f886f28e22eeae859c42d1c2b2f29394 to your computer and use it in GitHub Desktop.
Node.js local module

The following package.json snippet is how to reference a local module in your Node.js project:

package.json

{
  ...
  "dependencies": {
    "local-module": "file:./local-module",
    ...
  }
  ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment