All Projects → coderaiser → Load.js

coderaiser / Load.js

Licence: mit
Dynamically loading external JavaScript and CSS files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Load.js

Bach
Compose your async functions with elegance.
Stars: ✭ 117 (+680%)
Mutual labels:  parallel, series
Flowa
🔥Service level control flow for Node.js
Stars: ✭ 66 (+340%)
Mutual labels:  parallel, series
do
Simplest way to manage asynchronicity
Stars: ✭ 33 (+120%)
Mutual labels:  parallel, series
Redrun
✨🐌 🐎✨ fastest npm scripts runner
Stars: ✭ 85 (+466.67%)
Mutual labels:  parallel, series
Rubico
[a]synchronous functional programming
Stars: ✭ 133 (+786.67%)
Mutual labels:  parallel, series
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
Pgbackrest
Reliable PostgreSQL Backup & Restore
Stars: ✭ 766 (+5006.67%)
Mutual labels:  parallel
Infinite Ajax Scroll
Turn your existing pagination into infinite scrolling pages with ease
Stars: ✭ 804 (+5260%)
Mutual labels:  ajax
Parallel Ssh
Asynchronous parallel SSH client library.
Stars: ✭ 864 (+5660%)
Mutual labels:  parallel
Blog
关注基础知识,打造优质前端博客,公众号[前端工匠]的作者
Stars: ✭ 6,873 (+45720%)
Mutual labels:  ajax
Read Multiple Files
Read multiple files Observable way
Stars: ✭ 13 (-13.33%)
Mutual labels:  parallel
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
Ironwing
universal, framework agnostic, transport layer
Stars: ✭ 17 (+13.33%)
Mutual labels:  ajax

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].