All Projects → KvanTTT → CSharp-Minifier

KvanTTT / CSharp-Minifier

Licence: Apache-2.0 license
Library for C# code minification based on NRefactory. That is lib for spaces, line breaks, comments removing, reduction of identifiers name length and so on in C# code.

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to CSharp-Minifier

Esbuild Loader
⚡️ Speed up your Webpack build with esbuild
Stars: ✭ 1,245 (+3176.32%)
Mutual labels:  minification
Static Html Webpack Boilerplate
🔮 modern tooling for old-school static webpage development
Stars: ✭ 226 (+494.74%)
Mutual labels:  minification
MinifyAllCli
📦 A lightweight, simple and easy npm tool to 𝗺𝗶𝗻𝗶𝗳𝘆 JSON/C, HTML and CSS! Also known as MinifyAll core! ⭐ Usable as 𝑪𝑳𝑰 tool or 𝒊𝒎𝒑𝒐𝒓𝒕𝒂𝒃𝒍𝒆 in TS/JS as a 𝑴𝑶𝑫𝑼𝑳𝑬 🥰
Stars: ✭ 21 (-44.74%)
Mutual labels:  minification
Static Site Boilerplate
A better workflow for building modern static websites.
Stars: ✭ 1,633 (+4197.37%)
Mutual labels:  minification
Webpack Tricks
Tips and tricks in using Webpack
Stars: ✭ 2,364 (+6121.05%)
Mutual labels:  minification
bootstrap-4-boilerplate
Basic Bootstrap 4 Starter Template
Stars: ✭ 50 (+31.58%)
Mutual labels:  minification
Brackets Minifier
Minifies and Concatenates JS and CSS in Brackets using UglifyJS3 and CleanCSS
Stars: ✭ 56 (+47.37%)
Mutual labels:  minification
silencio
Silencio is a Java library for transforming and converting XML, JSON, YAML, Properties and other formats. It is applicable for most operations such as obfuscation, encryption, minimisation (minifying), anonymous. Library is fully customizable and extensible.
Stars: ✭ 23 (-39.47%)
Mutual labels:  minification
Image Shrinker
App for macOS. Minify your images and graphics with just one drop. Autorenamed in the same place where it comes from. Immediately!
Stars: ✭ 217 (+471.05%)
Mutual labels:  minification
source-map-unpack
Unpack 🛍 your JS source maps 🗺 to original files and folders.
Stars: ✭ 115 (+202.63%)
Mutual labels:  minification
Wpgulp
An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.
Stars: ✭ 1,733 (+4460.53%)
Mutual labels:  minification
Mediancut Posterizer
Lossy PNG compressor for RGBA PNGs. Has two modes: lossy averaging filter (blurizer) that denoises the image and optimal posterization using Median Cut quantization to reduce number of unique colors in the image with minimal visual distortion
Stars: ✭ 203 (+434.21%)
Mutual labels:  minification
MinifyAll
A 𝗩𝗦𝗖𝗼𝗱𝗲 𝗺𝗶𝗻𝗶𝗳𝗶𝗲𝗿 for JS, JSON/C, CSS, and HTML, you will love its simplicity! 🌟 𝘾𝙤𝙢𝙥𝙧𝙚𝙨𝙨 and 𝙜𝙯𝙞𝙥 files and folders 📦 Reduce your bundle and file sizes with lightning speed ⚡
Stars: ✭ 54 (+42.11%)
Mutual labels:  minification
Fontmin Webpack
Minifies icon fonts to just the used glyphs.
Stars: ✭ 93 (+144.74%)
Mutual labels:  minification
luasrcdiet
Compresses Lua source code by removing unnecessary characters (updated fork of http://luasrcdiet.luaforge.net/)
Stars: ✭ 60 (+57.89%)
Mutual labels:  minification
Jekyll Minibundle
A minimalistic asset bundling plugin for Jekyll
Stars: ✭ 65 (+71.05%)
Mutual labels:  minification
clean-css
Fast and efficient CSS optimizer for node.js and the Web
Stars: ✭ 4,048 (+10552.63%)
Mutual labels:  minification
DynamicProto-JS
Generates dynamic prototype methods for JavaScript objects (classes) by supporting method definition within their "class" constructor (like an instance version), this removes the need to expose internal properties on the instance (this) which results in better code minfication and therefore improved load times for your users.
Stars: ✭ 16 (-57.89%)
Mutual labels:  minification
pdfminify
PDF minifier that allows removing duplicate data, re-compresses images, creation of PDF/A-1b and digital PDF signing
Stars: ✭ 46 (+21.05%)
Mutual labels:  minification
rollup-plugin-html
Import HTML files as strings in rollup build
Stars: ✭ 36 (-5.26%)
Mutual labels:  minification

CSharp-Minifier

Library for C# code minification based on NRefactory. That is lib for spaces, line breaks, comments removing, reduction of identifiers name length and so on in C# code.

This lib primarily developed for code minification in quines (for my Freaky-Sources project).

Implemented features:

  • Identifiers compression (ignored names are supported too):
    • Local vars
    • Type members
    • Types
  • Misc minifications:
    • private words removing
    • namespaces words removing
    • vars initialization expression compressing:
      • List a = new List() => var a = new List()
      • var a = new b() => b a = new b()
    • Curly spaces with one expression inside removing if (a) { b; } => if (a) b;
    • boolean expressions optimization: if (a == true) => if (a); if (a == false) => if (!a)
    • Comments and regions removing
  • Whitespaces chars removing with maximum string length limit.

Tests and GUI application are included.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].