Sashiko.Core 0.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Sashiko.Core --version 0.3.0
                    
NuGet\Install-Package Sashiko.Core -Version 0.3.0
                    
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="Sashiko.Core" Version="0.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sashiko.Core" Version="0.3.0" />
                    
Directory.Packages.props
<PackageReference Include="Sashiko.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Sashiko.Core --version 0.3.0
                    
#r "nuget: Sashiko.Core, 0.3.0"
                    
#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.
#:package Sashiko.Core@0.3.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Sashiko.Core&version=0.3.0
                    
Install as a Cake Addin
#tool nuget:?package=Sashiko.Core&version=0.3.0
                    
Install as a Cake Tool

Sashiko.Core

Sashiko.Core is the foundational utility library of the Sashiko ecosystem.
It provides lightweight, reusable building blocks designed to support higher‑level Sashiko packages such as Sashiko.SystemMonitor.

This package focuses on unit conversions, common abstractions, and shared helpers that are useful across multiple domains.


✨ Features

  • Strongly‑typed unit conversion APIs
  • Enum‑based conversion system for clarity and extensibility
  • Memory conversions (Bytes, KB, MB, GB, TB)
  • Bandwidth conversions (Bits, Kb, Mb, Gb)
  • Round‑trip safe and fully tested
  • Zero dependencies
  • Cross‑platform and .NET‑friendly

📦 Installation

dotnet add package Sashiko.Core

🔧 Usage

Memory conversions

using Sashiko.Core.Conversions;
using Sashiko.Core.Models.Enums;

double gb = MemoryConverter.Convert(1024, MemoryUnit.Megabytes, MemoryUnit.Gigabytes);
// gb == 1.0

Bandwidth conversions

using Sashiko.Core.Conversions;
using Sashiko.Core.Models.Enums;

double mbps = BandwidthConverter.Convert(1000, BandwidthUnit.Kilobits, BandwidthUnit.Megabits);
// mbps == 1.0

🧪 Testing

All conversion logic is covered by a dedicated test suite under:

Sashiko.Core.Tests/Conversions

Tests include:

  • identity conversions
  • cross‑unit conversions
  • round‑trip conversions
  • tolerance‑based floating‑point validation

🧱 Roadmap

Future versions of Sashiko.Core may include:

  • Temperature conversions
  • Time and duration utilities
  • Human‑friendly formatting helpers
  • Additional numeric abstractions

🤝 Contributing

Contributions are welcome!
If you’d like to improve SystemMonitor or propose new features, please check our Contributing Guidelines.
Feel free to open an issue or submit a pull request!


📄 License

This project is licensed under the Apache License 2.0.
See the LICENSE file for the full license text.

Copyright © 2026 Alexandru Luca (alex98luca)

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Sashiko.Core:

Package Downloads
Sashiko.Registries

JSON-based registry loading utilities for the Sashiko ecosystem. Provides trusted (embedded) and validated (external) loading paths, schema validation integration, option-aware JSON parsing, and domain-specific error semantics through RegistryLoadException.

Sashiko.Names

Culturally aware person name generator for the Sashiko ecosystem. Provides embedded, curated name pools and language-specific generation rules for realistic structured person names without runtime external data sources.

Sashiko.SystemMonitor

Cross-platform system snapshot library for .NET. Provides operating system, CPU, GPU, memory, disk, thermal, and power metrics through a lightweight unified API.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.4.1 117 5/24/2026
0.4.0 120 5/4/2026
0.3.1 207 5/2/2026
0.3.0 145 4/18/2026
0.2.0 177 3/18/2026
0.1.0-alpha 156 3/14/2026