Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

kraken-devtools

Package Overview
Dependencies
Maintainers
2
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kraken-devtools

A development mode toolkit for kraken

  • 1.0.0-alpha.3
  • alpha
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
402
decreased by-15.55%
Maintainers
2
Weekly downloads
 
Created
Source

kraken-devtools

Compile-on-the-fly and other development tools for use when building express applications.

Build Status NPM version

Middleware compiler

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.

Usage

var app = require('express')(),
    devtools = require('kraken-devtools');

app.use(devtools(/* src, dest [, config] */));

Parameters

src - The directory of your source files, e.g. LESS, SASS, Dust
dest - The destination directory for the compiled files
config - Optional. An object of compilers to enable

Compilers

LESS, SASS, and Dust compilers are provided by default in addition to a static file copier. To add additonal compilers pass then to the config value, e.g.:

{
    "less": {
        "module": "kraken-devtools/plugins/less",
        "files": "/css/**/*.css"
    }
}

Keywords

FAQs

Package last updated on 04 Apr 2014

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc