
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
module_loader
Advanced tools
Yet another implementation of require for the browser. (RUN AWAY NOW!)
Another implementation of require for the browser.
pathname = require("path")
ModuleLoader = require("./module_loader")
new ModuleLoader
# env: "production"
# server: require("express").createServer()
module_root: pathname.resolve("./node_modules")
packages: ["underscore", "underscore.string", "jquery", "jwerty", "socket.io-client", "share", "alpha_simprini"]
module_root
: (REQUIRED) A fully resolved path which is the node_modules directory to load code from.
packages
: (REQUIRED) A list of npm package names. They will be looked up in ./node_modules
ignorepath
: (RECCOMENDED) A path to a .stitchignore file, with patterns of files to ignore when packing and requiring.
env
: production
or development
(default is development)
server
: Uses the express server api. If you don't provide one one will be made for you at port 2334.
ignorepath: ./.moduleignore
Sort of like .gitiginore, but without any fancy matching. SOME packages will have files that MUST be ignored in the browser. MOST packages will have files that SHOULD be ignored in the browser.
<!DOCTYPE html>
use it
_ = require("underscore")
jquery
- You can't do the equivalent of window.$ = require("jquery"); $ is overwritten as undefined before you can get to it.FAQs
Yet another implementation of require for the browser. (RUN AWAY NOW!)
The npm package module_loader receives a total of 0 weekly downloads. As such, module_loader popularity was classified as not popular.
We found that module_loader demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.