coderaiser / Load.js
Licence: mit
Dynamically loading external JavaScript and CSS files
Stars: ✭ 15
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Load.js
Metasync
Asynchronous Programming Library for JavaScript & Node.js
Stars: ✭ 164 (+993.33%)
Mutual labels: parallel, series
Npm Run All
A CLI tool to run multiple npm-scripts in parallel or sequential.
Stars: ✭ 4,496 (+29873.33%)
Mutual labels: parallel, series
Pxctest
Execute tests in parallel on multiple iOS Simulators
Stars: ✭ 800 (+5233.33%)
Mutual labels: parallel
Parallel Hashmap
A family of header-only, very fast and memory-friendly hashmap and btree containers.
Stars: ✭ 858 (+5620%)
Mutual labels: parallel
Numba
NumPy aware dynamic Python compiler using LLVM
Stars: ✭ 7,090 (+47166.67%)
Mutual labels: parallel
Infinite Ajax Scroll
Turn your existing pagination into infinite scrolling pages with ease
Stars: ✭ 804 (+5260%)
Mutual labels: ajax
Parallec
Fast Parallel Async HTTP/SSH/TCP/UDP/Ping Client Java Library. Aggregate 100,000 APIs & send anywhere in 20 lines of code. Ping/HTTP Calls 8000 servers in 12 seconds. (Akka) www.parallec.io
Stars: ✭ 777 (+5080%)
Mutual labels: parallel
Rext
🎈A lightweight (< 5kb gzipped) and Promise-supported HTTP request library, for all browsers.
Stars: ✭ 14 (-6.67%)
Mutual labels: ajax
Xhr.js
🌎 xhr.js is a library(< 2Kb) to make AJAX/HTTP requests with XMLHttpRequest.
Stars: ✭ 12 (-20%)
Mutual labels: ajax
Rssh
route ssh through a series of hosts (for if you / the servers are behind firewalls etc)
Stars: ✭ 8 (-46.67%)
Mutual labels: series
Load.js
Dynamically loading external JavaScript and CSS files
Install
npm install load.js
How use?
const load = require('load');
/* you could use jquery functions here */
await load.js('jquery.js');
/* load menu css and then do some magic */
await load.css('menu.css');
/* recognition file type by extension */
const [e, event] = await tryToCatch(load, 'css-or-.js');
const [e, footer] = await tryToCatch(load, 'template/footer.html');
const [e, config] = await tryToCatch(load.json, 'config.json');
const [e, header] = await tryToCatch(load.ajax, 'template/header.html');
/* load one-by-one */
await load.series([
'jquery.js',
'jq-console.js',
]);
/* load all together and call callback */
await load.parallel([
'menu.css',
'menu.js',
]);
License
MIT
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].