1.0.1 • Published 4 years ago

dummy-name-faker v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

Dummy Name Faker

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

Installation

With CDN

<script src="https://unpkg.com/dummy-name-faker@1.0.0/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/dummy-name-faker@1.0.0/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

Todo

  • Complete Readme
  • Add license