Sqids 1.0.3
Prefix ReservedSee the version list below for details.
dotnet add package Sqids --version 1.0.3
NuGet\Install-Package Sqids -Version 1.0.3
<PackageReference Include="Sqids" Version="1.0.3" />
paket add Sqids --version 1.0.3
#r "nuget: Sqids, 1.0.3"
// Install Sqids as a Cake Addin
#addin nuget:?package=Sqids&version=1.0.3
// Install Sqids as a Cake Tool
#tool nuget:?package=Sqids&version=1.0.3
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 | 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. |
-
net7.0
- No dependencies.
NuGet packages (5)
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. |
|
Valtuutus.Data
Valtuutus data abstractions; Valtuutus provides a developer-focused, modern library for creating ReBAC without complexity. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.0 | 188,084 | 12/1/2023 |
3.0.3 | 62,287 | 9/15/2023 |
3.0.2 | 761 | 9/13/2023 |
3.0.1 | 326 | 9/10/2023 |
3.0.0 | 164 | 9/10/2023 |
2.0.0 | 2,017 | 8/30/2023 |
1.1.0 | 1,463 | 8/18/2023 |
1.0.5 | 140 | 8/16/2023 |
1.0.4 | 317 | 8/8/2023 |
1.0.3 | 124 | 8/8/2023 |
1.0.2 | 159 | 8/7/2023 |
1.0.1 | 154 | 8/7/2023 |
1.0.0 | 225 | 8/6/2023 |
1.0.0-preview.3 | 80 | 8/6/2023 |
1.0.0-preview.2 | 76 | 8/4/2023 |
1.0.0-preview.1 | 76 | 8/4/2023 |