Navy Penguin Mariachi

    mollify

    4.0.0 • Public • Published

    Mollify License Build Status NPM version

    Middleware for minify.

    Install

    npm i mollify --save
    

    How to use?

    const mollify = require('mollify');
    const http = require('http');
    const express = require('express');
    
    const app = express();
    const server = http.createServer(app);
    
    const port = 1337;
    const ip = '0.0.0.0';
    
    app.use(mollify({
        dir: __dirname,
        is: true, // default
    }));
    
    app.use(express.static(__dirname));
    
    server.listen(port, ip);

    License

    MIT

    Install

    npm i mollify

    DownloadsWeekly Downloads

    224

    Version

    4.0.0

    License

    MIT

    Unpacked Size

    5.15 kB

    Total Files

    5

    Last publish

    Collaborators

    • coderaiser