Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 847 Bytes

README.md

File metadata and controls

36 lines (25 loc) · 847 Bytes

faker.js wraped for Meteor

Build Status

Installation

Install using Meteor's package management system:

> meteor add gbit:faker

How to use

You can use faker both client and server side

See faker documentation at https://github.com/Marak/faker.js

Added methods for Meteor apps development

We take the freedom to add some additional methods that may be useful for you

faker.meteor.user

Returns a simple user

var user = faker.meteor.user();
=> { username, emails: [{ adress: '...' }], profile: { name: '...' } }

Blaze helper

You can invoke faker inside a view

<template name="users">
	Name: {{faker.name.firstName}}
</template>