includejs
Resource Loader
Last updated 2 days ago by tenbits .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install includejs 
SYNC missed versions from official npm registry.

IncludeJS

The Resource Loader for Browsers and NodeJS with AMD and CommonJS support.

Build Status NPM version Bower version

Features:

  • Loads any content: scripts, styles, ajax

  • Development friendly: incremental builds are not required

  • ES6 Imports

  • Production: Build the application into single html, js and css @see the app-bundler

  • Inline Dependency Declaration

    No external files, such as package.json or config.js

  • Load any javascript

  • No prerequests for module declaration. But supports also CommonJS and include.exports

  • Namespaced routing

    include
    	.routes({ controller: '/src/controllers/{0}.js' }); 
    	//... 
    include
    	.js({controller: 'user' });
    
  • Parameterized include

    // foo.js
    include.js({ compo: 'baz?color=green' });
    
    // baz.js
    document.body.style.backgroundColor = include.iparams.color
    
  • Javascript Aliases

    include.js('myScript.js::Logger').done(function(response){
    	response.Logger.logMe();
    });	
    
  • Custom Loader Support

  • Lazy Modules

    Scripts will be evaluated only when you needs them

  • Pause resource loading

    // pause current module
    var resume = include.pause();
    
    someAsyncJob(function(){
    	// resume with exports example
    	resume({ baz: 'quux' });
    })
    

:copyright: 2014 Atma.js Project

Current Tags

  • 0.15.44                                ...           latest (2 days ago)

138 Versions

  • 0.15.44                                ...           2 days ago
  • 0.15.43                                ...           a month ago
  • 0.15.42                                ...           a month ago
  • 0.15.41                                ...           a month ago
  • 0.15.40                                ...           3 months ago
  • 0.15.39                                ...           3 months ago
  • 0.15.38                                ...           4 months ago
  • 0.15.37                                ...           4 months ago
  • 0.15.36                                ...           4 months ago
  • 0.15.35                                ...           4 months ago
  • 0.15.34                                ...           4 months ago
  • 0.15.33                                ...           5 months ago
  • 0.15.32                                ...           6 months ago
  • 0.15.31                                ...           6 months ago
  • 0.15.30                                ...           6 months ago
  • 0.15.29                                ...           7 months ago
  • 0.15.28                                ...           7 months ago
  • 0.15.27                                ...           7 months ago
  • 0.15.26                                ...           9 months ago
  • 0.15.25                                ...           9 months ago
  • 0.15.24                                ...           9 months ago
  • 0.15.22                                ...           9 months ago
  • 0.15.21                                ...           9 months ago
  • 0.15.20                                ...           10 months ago
  • 0.15.19                                ...           10 months ago
  • 0.15.18                                ...           10 months ago
  • 0.15.17                                ...           10 months ago
  • 0.15.15                                ...           a year ago
  • 0.15.14                                ...           a year ago
  • 0.15.13                                ...           a year ago
  • 0.15.12                                ...           a year ago
  • 0.15.11                                ...           a year ago
  • 0.15.9                                ...           a year ago
  • 0.15.8                                ...           2 years ago
  • 0.15.6                                ...           2 years ago
  • 0.15.5                                ...           2 years ago
  • 0.15.4                                ...           2 years ago
  • 0.15.3                                ...           2 years ago
  • 0.15.1                                ...           2 years ago
  • 0.12.70                                ...           2 years ago
  • 0.12.68                                ...           2 years ago
  • 0.12.66                                ...           3 years ago
  • 0.12.65                                ...           3 years ago
  • 0.12.61                                ...           3 years ago
  • 0.12.59                                ...           3 years ago
  • 0.12.58                                ...           3 years ago
  • 0.12.56                                ...           3 years ago
  • 0.12.55                                ...           3 years ago
  • 0.12.53                                ...           3 years ago
  • 0.12.50                                ...           3 years ago
  • 0.12.48                                ...           3 years ago
  • 0.12.46                                ...           3 years ago
  • 0.12.45                                ...           3 years ago
  • 0.12.44                                ...           3 years ago
  • 0.12.43                                ...           3 years ago
  • 0.12.41                                ...           3 years ago
  • 0.12.40                                ...           3 years ago
  • 0.12.39                                ...           3 years ago
  • 0.12.38                                ...           3 years ago
  • 0.12.37                                ...           3 years ago
  • 0.11.36                                ...           3 years ago
  • 0.11.35                                ...           4 years ago
  • 0.11.34                                ...           4 years ago
  • 0.11.33                                ...           4 years ago
  • 0.10.32                                ...           4 years ago
  • 0.10.31                                ...           4 years ago
  • 0.10.30                                ...           4 years ago
  • 0.10.29                                ...           4 years ago
  • 0.10.28                                ...           4 years ago
  • 0.10.27                                ...           4 years ago
  • 0.9.19                                ...           4 years ago
  • 0.9.18                                ...           4 years ago
  • 0.9.17                                ...           4 years ago
  • 0.9.16                                ...           4 years ago
  • 0.9.15                                ...           5 years ago
  • 0.9.14                                ...           5 years ago
  • 0.9.13                                ...           5 years ago
  • 0.9.12                                ...           5 years ago
  • 0.9.11                                ...           5 years ago
  • 0.9.10                                ...           6 years ago
  • 0.9.9                                ...           6 years ago
  • 0.9.6                                ...           7 years ago
  • 0.9.5                                ...           7 years ago
  • 0.9.31                                ...           7 years ago
  • 0.9.30                                ...           7 years ago
  • 0.9.29                                ...           7 years ago
  • 0.9.28                                ...           7 years ago
  • 0.9.27                                ...           7 years ago
  • 0.9.26                                ...           7 years ago
  • 0.9.25                                ...           7 years ago
  • 0.9.24                                ...           7 years ago
  • 0.9.23                                ...           7 years ago
  • 0.9.22                                ...           7 years ago
  • 0.9.21                                ...           7 years ago
  • 0.9.2                                ...           7 years ago
  • 0.9.1                                ...           7 years ago
  • 0.8.1                                ...           7 years ago
  • 0.8.0                                ...           7 years ago
  • 0.7.21                                ...           7 years ago
  • 0.7.2                                ...           7 years ago
  • 0.7.15                                ...           7 years ago
  • 0.7.12                                ...           7 years ago
  • 0.7.11                                ...           7 years ago
  • 0.7.1                                ...           7 years ago
  • 0.7.0                                ...           7 years ago
  • 0.6.9                                ...           7 years ago
  • 0.6.81                                ...           7 years ago
  • 0.6.8                                ...           7 years ago
  • 0.6.7                                ...           7 years ago
  • 0.6.6                                ...           7 years ago
  • 0.6.4                                ...           7 years ago
  • 0.6.3                                ...           7 years ago
  • 0.6.2                                ...           7 years ago
  • 0.6.1                                ...           7 years ago
  • 0.6.0                                ...           7 years ago
  • 0.5.9                                ...           7 years ago
  • 0.5.8                                ...           7 years ago
  • 0.5.7                                ...           7 years ago
  • 0.5.6                                ...           7 years ago
  • 0.5.5                                ...           7 years ago
  • 0.5.4                                ...           7 years ago
  • 0.5.3                                ...           7 years ago
  • 0.5.2                                ...           7 years ago
  • 0.5.1                                ...           7 years ago
  • 0.5.0                                ...           7 years ago
  • 0.4.9                                ...           7 years ago
  • 0.4.8                                ...           7 years ago
  • 0.4.7                                ...           7 years ago
  • 0.4.6                                ...           7 years ago
  • 0.4.5                                ...           7 years ago
  • 0.4.4                                ...           7 years ago
  • 0.4.2                                ...           7 years ago
  • 0.3.8                                ...           8 years ago
  • 0.3.7                                ...           8 years ago
  • 0.3.6                                ...           8 years ago
  • 0.3.5                                ...           8 years ago
  • 0.3.4                                ...           8 years ago
  • 0.3.3                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 33
This Month 33
Last Day 14
Last Week 37
Last Month 296
Dev Dependencies (5)

Copyright 2014 - 2016 © taobao.org |