Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
generator-cairn
Advanced tools
This is a yeoman generator for making express & js applications. It's geared towards react & redux / es6, but you can use it for making general single page apps too. There is a full suite of watching, livereloading, compilation and related gulp tasks. The express server renders html as you would expect, and they can be found in the server/views
folder.
It is a work in progress, and pull requests are welcome as long as they remain in the spirit of the generator.
Install Yeoman - npm install -g yo
.
Install generator globally: npm install -g generator-cairn
Check everything is working: yo --help
- should see a list of generators, and cairn
in there too.
Make a new directory, cd into it.
yo cairn
- give the project a name (it uses the directory name as default).
Yeoman will perform git init
and npm install
for you - this takes a while, so be prepared for a short wait.
gulp
- default task runs dev server, watches and builds.
USE_HTTPS=true gulp
for running a https localhost server
Sockets on iOS with a self signed cert - https://blog.httpwatch.com/2013/12/12/five-tips-for-using-self-signed-ssl-certificates-with-ios/
npm install -g generator-cairn
redux
app & componentsfetchData
inspection to gather data server side for renderpath.join
to url.resolve
in asset-path helper (windows support)FAQs
A full stack of rocks
The npm package generator-cairn receives a total of 0 weekly downloads. As such, generator-cairn popularity was classified as not popular.
We found that generator-cairn 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.