faker-doc

1.0.3 • Public • Published

faker-doc

Documentation for Faker.js methods that require arguments.

Created for mockerc for API generation.

Format

Faker.documentation.<methodName>.<methodName> = {
    params: [
        {
            description: {String} something about this argument
            type:        {String} string, obj, array, etc
            example:     example value
            acceptable:  Optional {Array} array of possible values
            required:    Optional {Boolean}
        },
        {
            /.../
        }
    ]
}

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i faker-doc

    Weekly Downloads

    12

    Version

    1.0.3

    License

    none

    Last publish

    Collaborators

    • clexit