node package manager npm On-Site npm Private Packages npm Open Source documentation support sign up or log in preprocessor Preprocessor.js: A JavaScript source file preprocessor, e.g. to build different versions of a library. Provides a JavaScript source file preprocessor, e.g. to build different versions of a library. It's for example used to build ProtoBuf.js (its build and main script are quite good examples). Directives Includes (always relative to the baseDirectory , defaults to "."): . . . // #include "path/to/file.js" . . . Static conditions: // #ifdef FULL console .log ( " Including extension " ) ; // #include "path/to/extension.js" // #else console .log ( " Not including extension " ) ; // #endif Inverse static conditions: // #ifndef FULL console .log ( " Not including extension " ) ; // #else console .log ( " Including exten...