SkillAgentSearch skills...

Underscore.cs

C# Library inspired by JavaScript Library Underscore.js

Install / Use

/learn @konkked/Underscore.cs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Underscore.cs

Started out as a port of the open source JavaScript Library Underscore.js to C#, but now is really a library (or helper object) inspired by underscore.js

Getting Started

Solution is available as a NuGet package

Install-Package Underscore.cs

An overview of the project's modules and capabilities can be found here.

More specific API documentation with examples for each function can be found in the documents here.

Here is a simple example of using the library's list chunking and random:

            var chainOCommand = _approvers.Zip(
                _.List.Chunk(_workers,
                    _.Utility.Random(2, 3)
                    ),
                (approver, workerChunk) => new
                {
                    Approver = approver,
                    Workers = workerChunk
                })
                .ToDictionary(
                    a => a.Approver,
                    a => a.Workers
             );
View on GitHub
GitHub Stars22
CategoryDevelopment
Updated3y ago
Forks1

Languages

C#

Security Score

75/100

Audited on Nov 20, 2022

No findings