Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
kraken-devtools
Advanced tools
Lead Maintainer: Matt Edelmann
Compile-on-the-fly and other development tools for use when building express applications.
Without a great system for supporting optional peer dependencies, here are some minimum versions for using plugins shipped with kraken-devtools
:
node-sass@^1.0.0
The middleware compiler builds your dependencies as they are requested, allowing you to run your express application as-is and not have to set up a watch task.
var app = require('express')(),
devtools = require('kraken-devtools');
app.use(devtools(/* src, dest [, config] */));
src
- The directory of your source files
dest
- The destination directory for the compiled files
config
- Optional. An object of compilers to enable
less
, sass
, stylus
, dustjs
, and a static copier
plugin are available to use. To enable, set the module
and files
properties in your config
, e.g.:
{
"less": {
"module": "kraken-devtools/plugins/less",
"files": "/css/**/*.css",
"ext": "less"
}
}
To add additional compilers, create a module with the following format and add it to your configuration:
module.exports = function (options) {
return function (data, args, callback) {
// Compile the data
};
};
Thanks to iantocristian we now have browserify support for kraken-devtools
FAQs
A development mode toolkit for kraken
The npm package kraken-devtools receives a total of 341 weekly downloads. As such, kraken-devtools popularity was classified as not popular.
We found that kraken-devtools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.