npm

j.require

1.0.7 • Public • Published

j.require

A require statement that takes a path beginning from the root of your directory. The root is defined as where your node_modules folder is.


Installation

  npm install j.require

Example Directory

YourApp/
--ROOT
--node_modules/
--utils/
----NOT ROOT
----coolUtil.js
--server/
----server.js
--index.js
--package.json
--README.md


Example Usage:

  // server/server.js

  var j = require('j.require');
  var coolUtil = j.require('utils/coolUtil');

Readme

Keywords

none

Package Sidebar

Install

npm i j.require

Weekly Downloads

2

Version

1.0.7

License

ISC

Last publish

Collaborators

  • dblanchard