DEdge.Cardizer
0.10.0
dotnet add package DEdge.Cardizer --version 0.10.0
NuGet\Install-Package DEdge.Cardizer -Version 0.10.0
<PackageReference Include="DEdge.Cardizer" Version="0.10.0" />
paket add DEdge.Cardizer --version 0.10.0
#r "nuget: DEdge.Cardizer, 0.10.0"
// Install DEdge.Cardizer as a Cake Addin
#addin nuget:?package=DEdge.Cardizer&version=0.10.0
// Install DEdge.Cardizer as a Cake Tool
#tool nuget:?package=DEdge.Cardizer&version=0.10.0
Cardizer is a credit card randomizer to test application. Maintained by folks at D-EDGE.
Keep in mind that all credit card numbers generated with Cardizer are completely random and do not hold any real life value.
Features
- Easy to use
- Easy to extend
- Thread safe
- Check with the Luhn's algorithm
- Support for Visa credit card
- Support for Jcb credit card
- Support for Amex credit card
- Support for Discover credit card
- Support for MasterCard credit card
Getting Started
Install the DEdge.Cardizer NuGet package:
PM> Install-Package DEdge.Cardizer
Alternatively you can also use the .NET CLI to add the packages:
dotnet add package DEdge.Cardizer
Next create a .net application and use DEdge.Cardizer:
open System
[<EntryPoint>]
let main _ =
DEdge.Cardizer.NextVisa () |> printfn "Visa: %s"
0
or in C#:
static void Main(string[] args)
{
var card = DEdge.Cardizer.NextVisa();
Console.WriteLine(card);
}
output:
Visa: 4127540509730813
Of course the credit card value is going to be randomized.
Sample applications
There is a F# sample application which can be found in the App
folder and a C# sample application which can be found in the AppCs
folder.
Contributing
Help and feedback is always welcome and pull requests get accepted.
- First open an issue to discuss your changes
- After your change has been formally approved please submit your PR against the main branch
- Please follow the code convention by examining existing code
- Add/modify the
README.md
as required - Add/modify unit tests as required
- Please document your changes in the upcoming release notes in
RELEASE_NOTES.md
- PRs can only be approved and merged when all checks succeed (builds on Windows, MacOs and Linux)
License
Product | Versions |
---|---|
.NET | net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows |
.NET Framework | net472 net48 net481 |
-
.NETFramework 4.7.2
- FSharp.Core (>= 6.0.1)
-
net6.0
- FSharp.Core (>= 6.0.1)
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 |
---|---|---|
0.10.0 | 1,372 | 2/10/2022 |
0.9.2 | 305 | 1/20/2022 |
0.9.0 | 314 | 11/23/2021 |
0.8.0 | 631 | 10/18/2021 |
0.7.0 | 442 | 10/7/2021 |
0.6.0 | 208 | 10/5/2021 |
0.6.0-beta | 127 | 9/20/2021 |
0.5.0-alpha | 540 | 9/13/2021 |
0.4.0-alpha | 242 | 6/1/2021 |
0.3.0-beta | 365 | 4/1/2021 |