JGP.CharacterCount.Services 1.0.3

dotnet add package JGP.CharacterCount.Services --version 1.0.3                
NuGet\Install-Package JGP.CharacterCount.Services -Version 1.0.3                
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="JGP.CharacterCount.Services" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add JGP.CharacterCount.Services --version 1.0.3                
#r "nuget: JGP.CharacterCount.Services, 1.0.3"                
#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 JGP.CharacterCount.Services as a Cake Addin
#addin nuget:?package=JGP.CharacterCount.Services&version=1.0.3

// Install JGP.CharacterCount.Services as a Cake Tool
#tool nuget:?package=JGP.CharacterCount.Services&version=1.0.3                

JGP.CharacterCount

It... Counts Characters?

Able to count: [] Spaces [] Characters [] Unique Characters [] Words [] Unique Words [] Sentences [] Paragraphs [] Word Densities with Counts and Percentages

Example usage:

    public SomeClass PerformSomeAction(SomeClass someClass)
    {
    	ICharacterCountService service = new CharacterCountService();
    	var model = service.Count(someClass.Text);
    	// Do stuff.
    }

I built this to use for a page on my website. It works well so I made it public.. Crack on.

Easy to use in MVC or similar.

The algorithm used to calculate density percentages is not NASA-Engineer grade. But it's good enough for me. Feel free to contribute to the project, or let me know if you've used this and it's been useful.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 208 10/29/2022
1.0.2 186 10/29/2022
1.0.1 192 10/29/2022