All Projects → WebReflection → Require_client

WebReflection / Require_client

Licence: mit
node require for JS client side

Programming Languages

javascript
184084 projects - #8 most used programming language

require_client

node require for JS client side

Deprecated

This repository is not actively maintained anymore.

why

Here you find everything you need to know behind this project.

how

Install the node binary through [sudo] npm install require_client -g.

Create a portable require file via require_client ~/path/jsfolder [~/path/require.js] [--yui] [--watch].

If no third argument is specified, the build will be inside the build folder of the require_client installation.

If --yui is not an argument, UglifyJS will be used as default.

If --watch has been specified, the process keep building automatically per each file change. This is very handy if you want to forget about building before each test.

update

it's now possible to create a require.js script able to parse itself ... e.g.

<script class="exec" src="js/require.js">
  require("my-module").init();
</script>

This makes inclusion of built requires easier to bootstrap.

multiple projects

It is now possible to create many build with require() and place all of them in parallel. The first require that will be available in the global scope will be used as parser, all others will simply enrich the list of available modules.

license

Mit Style

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].