Skip to content

coderaiser/node-mollify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mollify License Dependency Status 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

About

middleware for minify

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

 
 
 

Contributors