Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Couple is an event based collaboration of NodeJS, Express, Socket.IO, Jade and Stylus
#Couple
Couple is an event based collaboration of NodeJS, Express, Socket.IO, Jade and Stylus
##Installing:
npm install couple
##Usage:
var couple = require('couple');
var app = new couple({
port: 8080
});
app.start();
##Options:
port: Number //change the listen to port, Default: 80
sid: String //the key to use for express session store, Default: couple.sid
secret: String //the secret to use for express session store, Default: secret
view: String //the directory where the views are, Default: ''
viewCahce: Boolean //whether or not to enable view caching, Default: false
viewLayout: Boolean //whether or not to enable global layout, Default: false
static: String //the directory where to serve static files from, Default: 'public'
routes: Function(express) //function to call to establish any special routes, Default: function(express){}
ioLog: Boolean //whether or not to enable socket.io logging, Default: false
##Events:
express::init: Function(express) //event after express has been setup
express::start: null //event after express has been started
express::stop: null //event after express has been stopped
express::request: Function(req,res) //event after the catchall route is called
io::init: Function(io) //event after socket.io has been setup
io::start: null //event after express has been started
io::stop: null //event after express has been started
io::connect: Function(socket) //event after a new client has conencted
##Functions:
Constructor( options ) //called on initialization options is an array of settings
start() //call to start the server
stop() //call to stop the server
FAQs
Couple is an event based collaboration of NodeJS, Express, Socket.IO, Jade and Stylus
The npm package couple receives a total of 2 weekly downloads. As such, couple popularity was classified as not popular.
We found that couple 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
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.