This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@ahmedrowaihi/faker-ar
TypeScript icon, indicating that this package has built-in type declarations

8.0.2 • Public • Published

@ahmedrowaihi/faker-ar

[DEPRECATED] This fork is deprecated. Please use the original repo faker-js/faker, it supports feat(lorem): seed AR lorem (#2147) PR merged now 🎉 🎉 :tada

This repo was forked from faker-js/faker

This fork was created to add support for Arabic language lorem ipsum text

Faker

Generate massive amounts of fake (but realistic) data for testing and development.

npm version npm downloads

API Documentation

📦 Install

npm install --save-dev @ahmedrowaihi/faker-ar

📦 Usage

import { faker } from '@ahmedrowaihi/faker-ar';

export const USERS: User[] = [];

export function createRandomUser(): User {
  return {
    userId: faker.datatype.uuid(),
    username: faker.internet.userName(),
    email: faker.internet.email(),
    avatar: faker.image.avatar(),
    password: faker.internet.password(),
    birthdate: faker.date.birthdate(),
    registeredAt: faker.date.past(),
  };
}

Array.from({ length: 10 }).forEach(() => {
  USERS.push(createRandomUser());
});

Package Sidebar

Install

npm i @ahmedrowaihi/faker-ar

Weekly Downloads

16

Version

8.0.2

License

MIT

Unpacked Size

1.9 MB

Total Files

557

Last publish

Collaborators

  • ahmedrowaihi