0.4.0 • Published 3 years ago

fake-factory v0.4.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 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

3 years ago

0.3.9

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.2.1

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago