India.Faker
8.0.3
dotnet add package India.Faker --version 8.0.3
NuGet\Install-Package India.Faker -Version 8.0.3
<PackageReference Include="India.Faker" Version="8.0.3" />
paket add India.Faker --version 8.0.3
#r "nuget: India.Faker, 8.0.3"
// Install India.Faker as a Cake Addin #addin nuget:?package=India.Faker&version=8.0.3 // Install India.Faker as a Cake Tool #tool nuget:?package=India.Faker&version=8.0.3
Fake Data Generator for India
This tool allows you to generate fake data for Indian users, such as names, addresses, phone numbers, etc. It is useful for unit testing, creating sample data, and validating functionality. You can also use it to generate millions of data points for your projects
Features
Names
Generate realistic Indian names, including first names, last names, middle names, prefixes, and suffixes.
Example code :
var name = India.Faker.Name.FullName(); // Ramesh Babu
var firstName = India.Faker.Name.First(); // Amitabh
var lastName = India.Faker.Name.Last(); // Kapoor
var middleName = India.Faker.Name.Middle(); // Hrutvik
var prefix= India.Faker.Name.Prefix(); // Shri
var suffix= India.Faker.Name.Suffix(); // Bhai,kumar
Phone Numbers
Generate realistic Indian phone numbers.
Example code :
var number = India.Faker.Phone.Number(); // +91-9988776655, 9998887770, 079-27474747
States
Generate Indian Real State names and Codes.
Example code :
var state = India.Faker.State.Name(); // Gujarat
var stateCode = India.Faker.State.Code(); // GJ
var StateByCode = India.Faker.State.Date("GJ"); // Gujarat
var CodeByState = India.Faker.State.Date("Gujarat"); // GJ
var AllState = India.Faker.State.AllName("^"); // Gujarat^Rajasthan...
var AllStateCode= India.Faker.State.AllCode("^"); // GJ^RJ^MP...
Vehicle Number Plate
Generate realistic Indian vehicle number plates.
Example code :
var number = India.Faker.VehicleNumberPlate.Number(); // GJ 01 AA 7777, 24 BH 9999 AA
Bank Names
Generate realistic Indian bank names.
Example code :
var bankName = India.Faker.Bank.Name(); // Axis Bank Ltd.
var bankNames = India.Faker.Bank.AllName(); // Axis Bank Ltd.;Bandhan Bank Ltd.;CSB Bank Limited...
PAN card Numbers
Generate realistic Indian PAN card numbers.
Example code :
var number = India.Faker.PanCardNumber.Number(); // AABBB8888A
Aadhar Card Numbers
Generate realistic Indian Aadhaar card numbers.
Example code :
var number = India.Faker.AadharCardNumber.Number(); // 2222 4444 2222
Credit/Debit Numbers
Generate realistic Indian Credit/Debit card numbers.
Example code :
var number = India.Faker.CreditCardNumber.Number(); // 4242 4242 4242 4242
var cvv = India.Faker.CreditCardNumber.CVV(); // 111
var date = India.Faker.CreditCardNumber.Date(); // 08/2024
Supported versions
.NET Standard 2.0,
.NET Standard 2.1,
.NET Core 3.0,
.NET Core 3.1,
.NET 5.0,
.NET 6.0,
.NET 7.0,
.NET 8.0
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.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 |
---|---|---|
8.0.3 | 107 | 7/10/2024 |
8.0.2 | 91 | 7/10/2024 |
8.0.1 | 97 | 7/10/2024 |
7.0.3 | 92 | 7/10/2024 |
7.0.2 | 79 | 7/10/2024 |
7.0.1 | 85 | 7/10/2024 |
6.0.3 | 93 | 7/10/2024 |
6.0.2 | 80 | 7/10/2024 |
6.0.1 | 93 | 7/10/2024 |
5.0.3 | 87 | 7/10/2024 |
5.0.2 | 82 | 7/10/2024 |
5.0.1 | 94 | 7/10/2024 |
3.1.3 | 98 | 7/10/2024 |
3.1.2 | 78 | 7/10/2024 |
3.1.1 | 89 | 7/10/2024 |
2.1.3 | 95 | 7/10/2024 |
2.1.2 | 78 | 7/10/2024 |
2.1.1 | 96 | 7/10/2024 |
2.0.3 | 80 | 7/10/2024 |
2.0.2 | 71 | 7/10/2024 |
2.0.1 | 88 | 7/10/2024 |
1.0.0 | 255 | 1/28/2022 |