
Security News
npm ‘is’ Package Hijacked in Expanding Supply Chain Attack
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
A set of helpers and extensions that simplify everyday .NET tasks. The library contains convenient string utilities, a fast CSV parser, and a flexible converter able to transform many data types.
Provide reusable helpers for core scenarios so that applications can stay concise and readable.
StringHelper
adds small but handy methods:
"text".IsEmpty(); // bool check
"{0} + {1} = {2}".Put(1, 2, 3); // simple formatting
"a\nb".SplitByLineSeps(); // split by any newline
FastCsvReader
reads CSV data without allocations:
var csv = "Id;Name\n1;Foo\n2;Bar";
var reader = new FastCsvReader(csv, StringHelper.N);
while (reader.NextLine())
{
var id = reader.ReadInt();
var name = reader.ReadString();
Console.WriteLine($"{id}: {name}");
}
Converter
easily casts objects across a wide range of types:
int number = "42".To<int>(); // string -> int
byte[] data = number.To<byte[]>(); // int -> byte[]
DateTime date = 1700L.To<DateTime>();
Additional converters can be registered through Converter.AddTypedConverter
.
FAQs
Ecng system framework
We found that ecng.common demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.
Security News
A critical flaw in the popular npm form-data package could allow HTTP parameter pollution, affecting millions of projects until patched versions are adopted.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.