NebulaJ 1.0.0
dotnet add package NebulaJ --version 1.0.0
NuGet\Install-Package NebulaJ -Version 1.0.0
<PackageReference Include="NebulaJ" Version="1.0.0" />
<PackageVersion Include="NebulaJ" Version="1.0.0" />
<PackageReference Include="NebulaJ" />
paket add NebulaJ --version 1.0.0
#r "nuget: NebulaJ, 1.0.0"
#:package NebulaJ@1.0.0
#addin nuget:?package=NebulaJ&version=1.0.0
#tool nuget:?package=NebulaJ&version=1.0.0
NebulaJ / NebulaStorage
NebulaStorage is a lightweight JSON storage library for .NET that allows you to store structured data in a simple and flexible way. It supports automatic increment of test counts, metadata, and integration with system information (hardware, IP, OS).
Features
- Store structured data like a mini SQL in JSON.
- Auto-increment a
TestsCountfield. - Easily add metadata, arrays, objects, and custom fields.
- Integrates with system information:
- Hardware (RAM, Storage)
- IP Address
- Operating System (OS) info
- Save JSON files locally or to a custom directory.++
Installation
Install the package via NuGet:
dotnet add package NebulaJ
Or include the NebulaStorage.cs file in your project manually.
Usage Example
using System;
using NebulaJ.JSON;
class Program
{
static void Main()
{
// Create a new NebulaStorage instance
// "Local" means the JSON will be saved in the same folder as Program.cs
// "Nebula System Report" is the title of the JSON
new NebulaStorage(ls =>
{
// Enable automatic increment for TestsCount
ls.SetAutoIncrement(true)
// Add package name
.Package("NebulaJ")
// Add version number
.Version("2.0.0")
// Add author name
.Author("You")
// Include hardware info (RAM and Storage)
.IncludeHardwareInfo()
// Include IP address info
.IncludeIPInfo()
// Include operating system info
.IncludeOSInfo()
// Add a description for this record
.Description("Next-gen data + system integration JSON library")
// Add tags for categorization
.Tags("json", "nebula", "system");
}, "Local", "Nebula System Report");
}
}
JSON Output Example
After running the above code, NebulaLocalStorage.json will be generated in the same folder:
{
"Title": "Nebula System Report",
"Meta": {
"AutoIncrementTests": true
},
"Records": [
{
"TestsCount": 1,
"Title": "Nebula System Report",
"Package": "NebulaJ",
"Version": "2.0.0",
"Author": "XYZ",
"Hardware": {
"RAM": "16384 MB",
"Storage": "C:\ - Free: 102400 MB"
},
"IPInfo": {
"Address": "192.168.0.10"
},
"OSInfo": {
"System": "Microsoft Windows NT 10.0.22631.0",
"Architecture": "x64",
"AppDataPath": "C:\Users\XYZ\AppData\Roaming",
"Desktop": "C:\Users\XYZ\Desktop"
},
"Description": "Next-gen data + system integration JSON library",
"Tags": ["json", "nebula", "system"]
}
]
}
Methods Overview
SetAutoIncrement(bool)→ Automatically incrementsTestsCount.Package(string),Version(string),Author(string),Description(string)→ Add basic fields.IncludeHardwareInfo(),IncludeIPInfo(),IncludeOSInfo()→ Automatically include system info.Tags(params string[])→ Add tags.Meta(string, object)→ Add custom metadata.Add(string, object),AddArray(string, params object[]),AddObject(string, Dictionary<string, object>)→ Add custom fields or objects.GetAll()→ Returns all records.Last()→ Returns the last record.
This library allows seamless integration of system information directly into structured JSON files for your .NET applications. It is ideal for logging, configuration, or system diagnostics.
Suports .NET 9.0 > .NET 7.0
| Product | Versions 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 is compatible. 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 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 is compatible. 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. net10.0 was computed. 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. |
-
net6.0
- System.IO (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Security.Principal (>= 4.3.0)
-
net7.0
- System.IO (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Security.Principal (>= 4.3.0)
-
net8.0
- System.IO (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Security.Principal (>= 4.3.0)
-
net9.0
- System.IO (>= 4.3.0)
- System.Net.NetworkInformation (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Security.Principal (>= 4.3.0)
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.0 | 216 | 10/31/2025 |