1.0.8 • Published 8 years ago

hero-include v1.0.8

Weekly downloads
1
License
Apache-2.0
Repository
github
Last release
8 years ago

Hero Include

Smart 'require' module for NodeJS

Installation

Install via npm.

npm install hero-include

Examples

Require the module once in the main script

require("hero-include");

Use method 'using' for adding folder to router and include scripts from these folders. Call include or heroInclude.

require("hero-include");

include
	.using("./core")
	.using("./lib");

// or

heroInclude
	.using("./core")
	.using("./lib");

var a = include("module_from_core_folder");
var b = include("module_from_lib_folder");
1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago