DMNSN.Helpers.Minifier
8.0.2
dotnet add package DMNSN.Helpers.Minifier --version 8.0.2
NuGet\Install-Package DMNSN.Helpers.Minifier -Version 8.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DMNSN.Helpers.Minifier" Version="8.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DMNSN.Helpers.Minifier --version 8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DMNSN.Helpers.Minifier, 8.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DMNSN.Helpers.Minifier as a Cake Addin #addin nuget:?package=DMNSN.Helpers.Minifier&version=8.0.2 // Install DMNSN.Helpers.Minifier as a Cake Tool #tool nuget:?package=DMNSN.Helpers.Minifier&version=8.0.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Minifier
Description
This is a simple DMNSN Minifier tool. It allows you to shorten long content to make your logs more concise and readable.
Features
- Shortens long content to single lines
- Improves logs readability
- Easy to use
Installation
Method 1: Clone Source Code and Use as Project Reference
- Clone this repository:
git clone https://github.com/DevilDogTG/Helpers.Minifier.git
- Open the project in Visual Studio and add it as a reference to your solution.
Method 2: Install Package via NuGet
- Open your project in Visual Studio.
- Open the NuGet Package Manager Console.
- Run the following command to install the package:
nuget install DMNSN.Helpers.Minifier
Usage
- using
DMNSN.Helpers.Minifier
namespace in your code - Use the
MinifyHelper
static class to minify content:
string html = "<html>\n<head>\n<title>Test HTML</title>\n</head>\n<body>\n<h1>Hello, World!</h1>\n</body>\n</html>";
string minifiedHtml = MinifyHelper.MinifyHtml(html);
Contributing
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for more information.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on DMNSN.Helpers.Minifier:
Package | Downloads |
---|---|
DMNSN.AspNetCore.Middlewares.RqRsLogging
RqRsLogging Middleware for ASP.NET Core |
GitHub repositories
This package is not used by any popular GitHub repositories.
Initial release. Starting base version with version of dotnet