1.0.0 • Published 2 years ago

@falseify-js/commonjs v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

🤚 HOLD UP!

This plugin is designated for CommonJS modules. If you would like to use ES6, then you should check out our core library. The usage of import will not work with this package, instead you should the core library.

⚛ Support All Frameworks

Falseify supports all web frameworks. You can use it alongside React, Vue, Svelte, etc. (As long as it supports ES6 import/export statements)

Documentation

API Documentation

Note: This documentation fully uses import statements. Just change importing to CommonJS standards instead.

⚡ Features

  • Realistic personal information - This generates names, phone numbers, emails, etc.
  • Generate internet personas - This creates usernames, emails, IPs, etc.
  • Blazing fast - Falseify does not require any dependencies and will fit well in a browser environment. Other modules similar to this are higher in size and don't work well inside a browser environment.
  • Support for any framework - You can use any framework alongside Falseify. This includes React, Svelte, Vue, etc. @falseify/core supports ES6 imports/exports whereas @falseify/commonjs supports CommonJS require statements.

Note: All of the information which Falseify generates can sometimes be valid. Please do not try contacting or calling any of these generated values.

📦 Installation

You can install Falseify from the npm registry.

# npm
npm install @falseify/commonjs

# yarn
yarn add @falseify/commonjs

# pnpm
pnpm add @falseify/commonjs

✨ Usage

const falseify = require("@falseify-js/commonjs");

console.log(falseify.person.fullName()); // --> Roderick Aswin
console.log(falseify.person.email()); // --> ElwynNigel18@gmail.com

// Custom email domain
console.log(falseify.person.email("hotmail.com")); // --> MordecaiClaude99@hotmail.com