Sqids 3.1.0
Prefix Reserveddotnet add package Sqids --version 3.1.0
NuGet\Install-Package Sqids -Version 3.1.0
<PackageReference Include="Sqids" Version="3.1.0" />
<PackageVersion Include="Sqids" Version="3.1.0" />
<PackageReference Include="Sqids" />
paket add Sqids --version 3.1.0
#r "nuget: Sqids, 3.1.0"
#:package Sqids@3.1.0
#addin nuget:?package=Sqids&version=3.1.0
#tool nuget:?package=Sqids&version=3.1.0
The official .NET port of Sqids
Sqids (pronounced "squids") is a small library that lets you generate YouTube-like IDs from numbers. It turns numbers like 127 into strings like yc3, which you can then decode back into the original numbers. Sqids is useful for when you want to hide numbers (like sequential numeric IDs) into random-looking strings to be used in URLs and elsewhere.
Basic Usage:
using Sqids;
var sqids = new SqidsEncoder<int>();
var id = sqids.Encode(1, 2, 3); // "86Rf07"
var numbers = sqids.Decode(id); // [1, 2, 3]
Note: For the full documentation and other examples, check out the GitHub repository.
| Product | Versions Compatible and additional computed target framework versions. | 
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. 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 was computed. 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. | 
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. | 
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. | 
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. | 
| MonoAndroid | monoandroid was computed. | 
| MonoMac | monomac was computed. | 
| MonoTouch | monotouch was computed. | 
| Tizen | tizen40 was computed. tizen60 was computed. | 
| Xamarin.iOS | xamarinios was computed. | 
| Xamarin.Mac | xamarinmac was computed. | 
| Xamarin.TVOS | xamarintvos was computed. | 
| Xamarin.WatchOS | xamarinwatchos was computed. | 
- 
                                                    .NETStandard 2.0- Microsoft.Bcl.HashCode (>= 1.1.1)
- System.Memory (>= 4.5.5)
 
- 
                                                    net6.0- No dependencies.
 
- 
                                                    net7.0- No dependencies.
 
- 
                                                    net8.0- No dependencies.
 
NuGet packages (16)
Showing the top 5 NuGet packages that depend on Sqids:
| Package | Downloads | 
|---|---|
| Orbital7.Extensions .NET Extensions/Utilities | |
| Rizzy This package allows you to utilize Asp.net MVC with Razor Components and htmx. | |
| Dosaic.Plugins.Persistence.S3 A plugin-first dotnet framework for rapidly building anything hosted in the web. | |
| CloakId.Sqids Sqids implementation for CloakId - provides URL-safe, configurable ID obfuscation using the Sqids algorithm. | |
| Dosaic.Extensions.Sqids A plugin-first dotnet framework for rapidly building anything hosted in the web. | 
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on Sqids:
| Repository | Stars | 
|---|---|
| YSGStudyHards/DotNetExercises 
                                                            ⚔【DotNetGuide专栏C#/.NET/.NET Core编程技巧练习集】C#/.NET/.NET Core编程常用语法、算法、技巧、中间件、类库、工作业务实操练习集,配套详细的文章教程和代码示例,助力快速掌握C#/.NET/.NET Core中各种编程常用语法、算法、技巧、中间件、类库、工作业务实操等等。
                                                         | |
| jonowilliams26/StructuredMinimalApi 
                                                            An example of a structured minimal api project
                                                         | |
| bingbing-gui/aspnetcore-developer 
                                                            .NET 9 打造的 ASP.NET Core 学习仓库,涵盖常用技术点 + 实战示例,配套优质开源库,欢迎 star!  Learn ASP.NET Core with .NET 9 — real-world samples, essential features, and awesome libraries. Star it if you like!
                                                         | 
| Version | Downloads | Last Updated | 
|---|---|---|
| 3.1.0 | 1,869,639 | 12/1/2023 | 
| 3.0.3 | 132,605 | 9/15/2023 | 
| 3.0.2 | 894 | 9/13/2023 | 
| 3.0.1 | 450 | 9/10/2023 | 
| 3.0.0 | 326 | 9/10/2023 | 
| 2.0.0 | 2,308 | 8/30/2023 | 
| 1.1.0 | 1,757 | 8/18/2023 | 
| 1.0.5 | 287 | 8/16/2023 | 
| 1.0.4 | 434 | 8/8/2023 | 
| 1.0.3 | 228 | 8/8/2023 | 
| 1.0.2 | 296 | 8/7/2023 | 
| 1.0.1 | 276 | 8/7/2023 | 
| 1.0.0 | 1,773 | 8/6/2023 | 
| 1.0.0-preview.3 | 156 | 8/6/2023 | 
| 1.0.0-preview.2 | 170 | 8/4/2023 | 
| 1.0.0-preview.1 | 183 | 8/4/2023 |