Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ahmedrowaihi/faker-ar

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ahmedrowaihi/faker-ar

Generate massive amounts of fake contextual data

  • 8.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@ahmedrowaihi/faker-ar

:no_entry: [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: :tada: :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());
});

Keywords

FAQs

Package last updated on 04 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc