Skip to content

girassolbit/meteor-faker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •