MintPlayer.Spark.Gs1
11.0.0
dotnet add package MintPlayer.Spark.Gs1 --version 11.0.0
NuGet\Install-Package MintPlayer.Spark.Gs1 -Version 11.0.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="MintPlayer.Spark.Gs1" Version="11.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MintPlayer.Spark.Gs1" Version="11.0.0" />
<PackageReference Include="MintPlayer.Spark.Gs1" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MintPlayer.Spark.Gs1 --version 11.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MintPlayer.Spark.Gs1, 11.0.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.
#:package MintPlayer.Spark.Gs1@11.0.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MintPlayer.Spark.Gs1&version=11.0.0
#tool nuget:?package=MintPlayer.Spark.Gs1&version=11.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MintPlayer.Spark.Gs1
GS1 logic for MintPlayer.Spark, written once in Polyglot
(pg/*.pg) and shared by .NET and @mintplayer/ng-spark.
- .NET: the C# is generated into
obj/on every build (PolyglotTargets=csharp). It isinternal, in its own namespace (MintPlayer.Spark.Gs1.Core), and the public API is the hand-written facade. - TypeScript: the twin is committed in ng-spark's
scanningentry point.
Gs1CheckDigit.Compute("400638133393"); // 1
Gs1CheckDigit.IsValid("4006381333931"); // true
var scan = Gs1Barcode.Parse("]C10109521234543213\u001D10ABC123\u001D17251231");
// scan.IsValid, scan.Gtin == "09521234543213", scan.Lot == "ABC123", scan.Expiry == "251231"
Gs1Barcode.Parse("https://id.gs1.org/01/09521234543213/10/ABC123?17=251231"); // the same elements
Gs1Sscc.Create(0, "9521234", 1); // "095212340000000013"
The AI dictionary is GS1's Barcode Syntax Dictionary, vendored in
tools/gs1/ and turned into pg/aitable.pg by node tools/gs1/generate-ai-table.mjs.
Design and constraints: docs/polyglot_migration_PRD.md.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 11.0.0 | 95 | 11/16/2026 |
| 11.0.0-preview.4 | 55 | 11/12/2026 |
| 11.0.0-preview.3 | 69 | 10/24/2026 |
| 11.0.0-preview.2 | 58 | 10/24/2026 |
| 11.0.0-preview.1 | 62 | 10/19/2026 |