GfycatesqueIds 1.0.0

Create human-readable Ids, just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

Install-Package GfycatesqueIds -Version 1.0.0
dotnet add package GfycatesqueIds --version 1.0.0
<PackageReference Include="GfycatesqueIds" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GfycatesqueIds --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

GfycatesqueIds

Create human-readable Ids, just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

Example Usage

https://dotnetfiddle.net/4KGjWQ

// Create Id in the default form VerbAdjectiveAnimal
var id = GfycatesceIds.Generate(); // id == "ExaltedDifficultAntelope"

// Create classic Gfycat Id in the form AdjectiveAdjectiveAnimal
var id = GfycatesceIds.Generate(GfycatesceIds.GfycatPattern); // id == "CalmFriendlyLion"

// Create Id in a custom form and length
var id = GfycatesceIds.Generate(new[]
    {
        WordType.Verb, WordType.Adjective, WordType.Verb, WordType.Verb, WordType.Animal
    }); // id == "WalkHorribleConfessQuestionZebra"

GfycatesqueIds

Create human-readable Ids, just like Gfycat. Use the default format of VerbAdjectiveAnimal or a custom format of your choosing.

Example Usage

https://dotnetfiddle.net/4KGjWQ

// Create Id in the default form VerbAdjectiveAnimal
var id = GfycatesceIds.Generate(); // id == "ExaltedDifficultAntelope"

// Create classic Gfycat Id in the form AdjectiveAdjectiveAnimal
var id = GfycatesceIds.Generate(GfycatesceIds.GfycatPattern); // id == "CalmFriendlyLion"

// Create Id in a custom form and length
var id = GfycatesceIds.Generate(new[]
    {
        WordType.Verb, WordType.Adjective, WordType.Verb, WordType.Verb, WordType.Animal
    }); // id == "WalkHorribleConfessQuestionZebra"

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 84 5/14/2020