mincdn

2.0.0 • Public • Published

mincdn # new update: we mintify css, js and html now.

mincdn is a NPM module that mintifes files and saves them to your selected folder.

docs:

.mintify("raw unmintifed file here", "output", "debug?")

example:

const cdn = require("mincdn");
cdn.mintify("./main.js", "main.min.js");

input:

'use strict'
 
const canvas = document.querySelector('canvas')
const ctx = canvas.getContext('2d')
 
let width, height, lastNow
let x;
const max = 100
 

output:

"use strict";const canvas=document.querySelector("canvas"),ctx=canvas.getContext("2d");let width,height,lastNow,x;const max=100;

version: 2

Readme

Keywords

none

Package Sidebar

Install

npm i mincdn

Weekly Downloads

1

Version

2.0.0

License

MIT

Unpacked Size

2.17 kB

Total Files

3

Last publish

Collaborators

  • lukewarmcat