npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jsfakeit

v2.0.5

Published

![alt text](https://raw.githubusercontent.com/Anirban20001962/jsfakeit/main/logo.png)

Downloads

19

Readme

alt text

JsFakeit

A random data generator written in Javascript

Installation

npm install jsfakeit

Features

Simple Usage

const jsfakeit = require('jsfakeit');

console.log(jsfakeit.email()); // [email protected]
console.log(jsfakeit.name()); // Kirsten Cummerata
console.log(jsfakeit.phone()); //  6280187616
console.log(jsfakeit.company()); // Navico
console.log(jsfakeit.jobTitle()); // Consultant
console.log(jsfakeit.color()); //   Pink
console.log(jsfakeit.currencyShort()); //  ISK
console.log(jsfakeit.hackerPhrase()); // You can't {hackerverb} the {hackernoun} without {hackeringverb} the {hackeradjective} {hackerabbreviation} {hackernoun}!
console.log(jsfakeit.bS()); // Graphical User Interface

Functions

This package has the following functions: -

Address

street: string // streent name
city: string // city name
state: string // state name
country: string // coutnry name
zip: string // zip name
longitude: number // longitude
latitude: number // latitude
address: Address // complete address

Animal

petName: string // Pet Name
animalType: string // Animal Type
farmAnimal: string // Farm Animal
animal: string // Animal
cat: string // Cat
dog: string // Dog

Auth

userName: string // Username
password(num,lower,upper,numeric,special,space): string // Password

Beer

beerName: string // Beer Name
beerStyle: string // Beer style
beerHop: string // Beer Hop
beerMalt: string // Beer Malt
beerYeast: string // Beer Yeast
beerAlcohol: string // Beer Alcohol level
beerIbu: string // Beer Alcohool level
beerBlg: string // Beer Blg value

Car

carType: string // Car Type
carFuel: string // Car Fuel
carTransmission: string // Car Transmission Type
carBrand:  string // Car Brand
carModel: string // Car Model
carYear: number // Car Year
car: CarDetail // complete car details

Actor

celebrityActor: string // Actor
celebrityBusiness: string // Businessman
celebritySport: string // Sport Star

Color

safeColor: string // Safe Color
color: string // Full Color
hexColor: string // Hex Code Color
rgbColor: string // RGB color

Company

company: string // Company Name
companySuffix: string // Company Suffix
buzzWord: string // Buzzwords
bS: string // company bs
jobTitle: string // Job title
jobDescriptor: string // Job Descriptor
jobLevel: string // Job Level
job: Job // Complete Job Details

Emoji

emoji: string // Emoji
emojiDescriptor: string // Emoji Descriptor
emojiCategory: string // Emoji Category
emojiAlias: string // Emoji Alias
emojiTag: string // Emoji Tag

File

mimeType: string // Mimetype
extension: string // Extension

Food

fruit: string // Fruit
vegetable: string // Vegetable
breakfast: string // Breakfast
lunch: string // Lunch
dinner: string // Dinner
snack: string // Snack
dessert: string // Dessert

Hacker

hackerPhrase: string // Hacker Phrase
hackerAbbreviation: string // Hacker Abbreviation
hackerAdjective: string // Hacker Adjective
hackerNoun: string // Hacker Noun
hackerVerb: string // Hacker Verb
hackeringVerb: string // Hacker ingverb

Hipster

hipsterWord: string // Single hipster word

Internet

domainSuffix: string // Domain Suffix
httpMethod: string // Http Method
httpStatusCode: string // HttpStatus Code
httpStatusCodeSimple: string // Simple status code
domainName: string // Domain name
url: string // Url
ipv4Address: string // ipv4Address
ipv6Address: string // ipv6Address
macAddress: string // macAddress
logLevel: string // log level
linuxPlatformToken: string // linux platfrom
macPlatformToken: string // mac platfrom
windowsPlatformToken: string // window platfrom
httpVersion: string // http version
randomPlatform: string // random platform
operaUserAgent: string // opera browser user agent string
firefoxUserAgent: string // firefox user agent browswer string
chromeUserAgent: string // chrome browser user agent string

Payement

currencyLong: string  // long currency
currencyShort: string // short currency
currency: CurrencyInfo // currency information
price(min,max): number // formatted price
creditCardType: string // random credit card type string
creditCardExp: string // credit card expiration date string
creditCardNumber: string // random credit card number
creditCardCvv(type): string // random credit card cvv
creditCard: CreditCard // credit Card
achRouting: string // 9-digit AchRouting number
achAccount: string // 12-digit AchAccount number
isLuhn(num): boolean // checks is the given number is luhn number
bitcoinAddress: string // random bitcoin address consisting of numbers, upper and lower characters
bitcoinPrivateKey: string // bitcoin private key base58 consisting of numbers, upper and lower characters

Person

person: Personinfo // Complete person details
name: string // Name
firstName: string // First Name
lastName: string // Last Name
nameSuffix: string // name prefix
ssn: string // SSN
gender: string // Gender
hobby: string // Hobby
phone: string // Phone
phoneFormatted: string // phone formatted number
email: string // Email
contact: string // ContactInfo

Time

year: number // Year
day: number // Day
month: number // Month
date: Date // Date in utc format