1.0.3 • Published 11 years ago

faker-doc v1.0.3

Weekly downloads
13
License
-
Repository
github
Last release
11 years ago

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}
        },
        {
            /.../
        }
    ]
}

Bitdeli Badge