Skip to content

Latest commit

 

History

History
62 lines (49 loc) · 1.42 KB

README.md

File metadata and controls

62 lines (49 loc) · 1.42 KB

Dummy Name Faker

small library that help you to get random name for your project

Installation

With CDN

<script src="https://unpkg.com/[email protected]/dist/bundle.js" type="module"></script>

With Node js

npm i dummy-name-faker

How to use

Node.js

    const {random} = require('dummy-name-faker');
    const name = random();

    console.log(name);

Example

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Testing With CDN</title>
    </head>
    <body>  
        <script src="https://unpkg.com/[email protected]/dist/bundle.js" type="module"></script>
        <script type="module">
            import { random, all } from "./bundle.js";
            console.log(random);
            console.log(all);
        </script>
    </body>
    </html>

How to contribute

  • Fork this repo
  • Anda clone this repo
  • Add your contribution
  • Don't forget to add your test
  • Push and create pull request

Todo

  • Complete Readme
  • Add license