0.1.8 • Published 9 years ago
dependsjs v0.1.8
dependsjs
node based module loader with out the overhead.
From everything I look at there seems to be something missing and that is a way to require with out the overhead of the libray that needs to be included like requirejs or browserify.
Dependsjs is still a baby, created in just over a day and not in production yet but soon.
HOW TO INSTALL
install using
npm install dependsjs -g
not sure why but it does not seem to work with local install
HOW TO USE
start with your main script file, call it whatever. somewhere in the first few lines call
//@import path/to/file.js, path/to/file2.js
comma sperated and path is relative to the main files path (running from node)
each file can @import other scripts but keep file path relative to the main file.
TODO:
help me write some test and make this better!
need grunt/gulp tool with lint, uglify and source maps