Sqids 1.1.0
Prefix ReservedSee the version list below for details.
dotnet add package Sqids --version 1.1.0
NuGet\Install-Package Sqids -Version 1.1.0
<PackageReference Include="Sqids" Version="1.1.0" />
paket add Sqids --version 1.1.0
#r "nuget: Sqids, 1.1.0"
// Install Sqids as a Cake Addin #addin nuget:?package=Sqids&version=1.1.0 // Install Sqids as a Cake Tool #tool nuget:?package=Sqids&version=1.1.0
The official .NET port of Sqids
Sqids (pronounced "squids") is a small library that lets you generate YouTube-looking IDs from numbers. It's good for link shortening, fast & URL-safe ID generation and decoding back into numbers for quicker database lookups.
Basic Usage:
using Sqids;
var sqids = new SqidsEncoder();
string id = sqids.Encode(1, 2, 3); // "8QRLaD"
int[] numbers = sqids.Decode(id); // new[] { 1, 2, 3 }
Note: For more documentation and 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 was computed. 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. |
.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.
NuGet packages (6)
Showing the top 5 NuGet packages that depend on Sqids:
Package | Downloads |
---|---|
Orbital7.Extensions
.NET Extensions/Utilities |
|
gitViwe.Shared.MediatR
A .NET library for some additional MediatR implementation |
|
laget.Sqids
An implementation for hashed ids using Sqids to be used in public facing DTOs |
|
gitViwe.Shared.Sqids
An abstraction on top of Sqids, a small library that generates YouTube-like IDs from numbers. |
|
H.Util.Ids
Package Description |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Sqids:
Repository | Stars |
---|---|
jonowilliams26/StructuredMinimalApi
An example of a structured minimal api project
|
Version | Downloads | Last updated |
---|---|---|
3.1.0 | 588,434 | 12/1/2023 |
3.0.3 | 97,570 | 9/15/2023 |
3.0.2 | 794 | 9/13/2023 |
3.0.1 | 380 | 9/10/2023 |
3.0.0 | 200 | 9/10/2023 |
2.0.0 | 2,136 | 8/30/2023 |
1.1.0 | 1,524 | 8/18/2023 |
1.0.5 | 171 | 8/16/2023 |
1.0.4 | 345 | 8/8/2023 |
1.0.3 | 150 | 8/8/2023 |
1.0.2 | 186 | 8/7/2023 |
1.0.1 | 184 | 8/7/2023 |
1.0.0 | 527 | 8/6/2023 |
1.0.0-preview.3 | 94 | 8/6/2023 |
1.0.0-preview.2 | 96 | 8/4/2023 |
1.0.0-preview.1 | 95 | 8/4/2023 |