Sashiko.Core
0.3.0
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
<PackageReference Include="Sashiko.Core" Version="0.3.0" />
<PackageVersion Include="Sashiko.Core" Version="0.3.0" />
<PackageReference Include="Sashiko.Core" />
paket add Sashiko.Core --version 0.3.0
#r "nuget: Sashiko.Core, 0.3.0"
#:package Sashiko.Core@0.3.0
#addin nuget:?package=Sashiko.Core&version=0.3.0
#tool nuget:?package=Sashiko.Core&version=0.3.0
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 | Versions 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. |
-
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.