Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
includejs
Advanced tools
The Resource Loader for Browsers and NodeJS
Features:
Loads any content: scripts, styles, ajax
Development friendly: incremental builds are not required
Production: Build the application into single html, js and css @see the Atma.Toolkit
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
FAQs
Resource Loader
The npm package includejs receives a total of 266 weekly downloads. As such, includejs popularity was classified as not popular.
We found that includejs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.