Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
includejs
Advanced tools
The Resource Loader for Browsers and NodeJS with AMD
and CommonJS
support.
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
FAQs
Resource Loader
The npm package includejs receives a total of 1,446 weekly downloads. As such, includejs popularity was classified as 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.