0.4.0 • Published 2 years ago

fake-factory v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Fake Model Factory for mogngoose models

How to install

    npm i facke-factory

It's easy to use:

Using with Typescript:

    import mongoose from "mongoose";
    import Factory from "fake-factory";

    const factory = new Factory('<Model name as defined in model creation>');
    const defaults = await factory.createInstance({
        name: "Mohamed"
    });
    console.log(defaults);
0.4.0

2 years ago

0.3.9

2 years ago

0.3.6

2 years ago

0.3.5

2 years ago

0.3.8

2 years ago

0.3.7

2 years ago

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.2.1

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago