fakers

0.0.0 • Public • Published

fakers

Build Status Coverage Status NPM Downloads NPM Version License Dependency Status devDependency Status Code Style

fake data in the browser and node.js

Installation

$ yarn add fakers
 
# or npm 
$ npm install fakers

Usage

const fakers = require('fakers')
const result = fakers('zce')
// result => 'zce@zce.me'

API

fakers(name[, options])

name

  • Type: string
  • Details: name string

options

host
  • Type: string
  • Details: host string
  • Default: 'zce.me'

CLI Usage

$ yarn global add fakers
 
# or npm 
$ npm install fakers -g
$ fakers --help
 
  Usage: fakers <input>
 
  Options:
 
    -V, --version  output the version number
    -H, --host     Email host
    -h, --help     output usage information

Contributing

  1. Fork it on GitHub!
  2. Clone the fork to your own machine.
  3. Checkout your feature branch: git checkout -b my-awesome-feature
  4. Commit your changes to your own branch: git commit -am 'Add some feature'
  5. Push your work back up to your fork: git push -u origin my-awesome-feature
  6. Submit a Pull Request so that we can review your changes.

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

License

MIT © 汪磊

Readme

Keywords

Package Sidebar

Install

npm i fakers

Weekly Downloads

6

Version

0.0.0

License

MIT

Unpacked Size

154 kB

Total Files

22

Last publish

Collaborators

  • zce