1.2.1 • Published 6 years ago

@koolio76/auto-module v1.2.1

Weekly downloads
34
License
MIT
Repository
-
Last release
6 years ago

ABOUT


Automatically download npm modules without using the terminal. All you just have to do is keep the app running ad save when you require a module.

const path = require("path")
const filePath = path.join(__dirname);
const autoModule = require("@koolio76/auto-module");
autoModule({path:filePath});

DEBUG OPTION


To debug, add true has the second argument

const path = require("path")
const filePath = path.join(__dirname);
const autoModule = require("@koolio76/auto-module");
autoModule({path:filePath, debug:true});

USING CURRENT WORKING DIRECTORY


if you don't want to include a path, you can leave the function call empty

const autoModule = require("@koolio76/auto-module");
autoModule({});

INSTALL AS DEV-DEPENDENCY


To install as a dev dependency, put the symbol //d in front of the required module

const autoModule = require("@koolio76/auto-module");
autoModule({});
const someModule = require("someModule");//[d]

INSTALL GLOBALLY


To install globally, put the symbol //g in front of the required module

const autoModule = require("@koolio76/auto-module");
autoModule({});
const someModule = require("someModule");//[g]

CHANGELOG

  • Added more stability
  • Updated above documentation
1.2.1

6 years ago

1.2.0

6 years ago

1.1.11

6 years ago

1.1.10

6 years ago

1.1.9

6 years ago

1.1.8

6 years ago

1.1.7

6 years ago

1.1.6

6 years ago

1.1.5

6 years ago

1.1.4

6 years ago

1.1.3

6 years ago

1.1.2

6 years ago

1.0.0

6 years ago