An open API service indexing awesome lists of open source software.

https://github.com/lokesh-coder/gulp-faker

Fake random data injection
https://github.com/lokesh-coder/gulp-faker

Last synced: about 1 year ago
JSON representation

Fake random data injection

Awesome Lists containing this project

README

          

# gulp-faker [![Build Status](https://travis-ci.org/lokesh-coder/gulp-faker.svg?branch=master)](https://travis-ci.org/lokesh-coder/gulp-faker)

[![Join the chat at https://gitter.im/lokesh-coder/gulp-faker](https://badges.gitter.im/lokesh-coder/gulp-faker.svg)](https://gitter.im/lokesh-coder/gulp-faker?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

> Fake random data injection

## Install

```
$ npm install --save gulp-faker
```

## Usage

```js
var gulp = require('gulp');
var faker = require('gulp-faker');

gulp.task('default', function () {
return gulp.src('src/hello.html')
.pipe(faker())
.pipe(gulp.dest('dist'));
});
```

## In html

```html

Hello !





Details



Title:

Company:

Phone:

Portfolio:

Avatar:

DOB:

Address:

Manager:

```

## will return

```html

Hello Luther!



Eius deleniti voluptas iure necessitatibus non minima ut.
Nihil aut repellendus voluptates veritatis minus.
At culpa distinctio.


Details



Title: Forward Marketing Strategist

Company: Ledner, Erdman and Jaskolski

Phone: 749-134-2560

Portfolio: http://orin.com

Avatar: https://s3.amazonaws.com/uifaces/faces/twitter/diansigitp/128.jpg

DOB: Mon Nov 16 2015 22:49:32 GMT+0530 (India Standard Time)

Address: 171 Nicolas Spurs

Manager: Kathlyn

```

> Random data is produced even the same tag is repeated. for more details, take a look at [faker](https://www.npmjs.com/package/faker) library.

### list of all tags

```html

```

## License

MIT © [lokesh-coder](https://github.com/lokesh-coder)