Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
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.