Sqids 3.1.0

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package Sqids --version 3.1.0
NuGet\Install-Package Sqids -Version 3.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sqids" Version="3.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sqids --version 3.1.0
#r "nuget: Sqids, 3.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sqids as a Cake Addin
#addin nuget:?package=Sqids&version=3.1.0

// Install Sqids as a Cake Tool
#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 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. 
.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on Sqids:

Package Downloads
Orbital7.Extensions The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

.NET Extensions/Utilities

gitViwe.Shared.MediatR

A .NET library for some additional MediatR implementation

laget.Sqids The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

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 103,359 12/1/2023
3.0.3 51,808 9/15/2023
3.0.2 695 9/13/2023
3.0.1 276 9/10/2023
3.0.0 147 9/10/2023
2.0.0 1,954 8/30/2023
1.1.0 1,418 8/18/2023
1.0.5 132 8/16/2023
1.0.4 304 8/8/2023
1.0.3 119 8/8/2023
1.0.2 155 8/7/2023
1.0.1 144 8/7/2023
1.0.0 197 8/6/2023
1.0.0-preview.3 78 8/6/2023
1.0.0-preview.2 75 8/4/2023
1.0.0-preview.1 75 8/4/2023