I'd recommend installing the npm
package, and adding Faker as an NPM module. It's quite simple:
mrt add npm
- Create a
packages.json
file in your project root, and add{ "Faker": "0.5.11" }
mrt update
- Use Faker in your code by doing
Faker = Meteor.require('Faker');
Now you can use it like normal, e.g. Faker.Internet.email()