aboutsummaryrefslogtreecommitdiff
path: root/lib/image.js
AgeCommit message (Collapse)AuthorFilesLines
2022-01-14chore: remove ts-generated source filesShinigami921-261/+0
2022-01-11chore: format lib without locales (#66)Shinigami1-8/+39
2021-03-22Linting fixes for `./lib`Marak1-14/+14
2021-03-03Issue 1114: New datatype moduleLBuerstmayr1-1/+1
Current status: - moved number(), float(), hexaDecimal(), boolean(), uuid() from random to datatype - moved respective test from random.unit to datatype.unit - tests of moved methods in random now check if DeprecationWarning is printed and respective method in datatype module is called - adapted all lib files that use moved methods (mostly number) - adapted tests of respective files to spy on the correct method - adapted README in order to promote usage of method that logs a DeprecationWarning
2020-08-25Merge pull request #855 from abnersajr/fix-797Marak1-0/+3
Adds Lorem Picsum as image provider
2020-03-06Change image API base URL to stable providerFrank Barrett1-2/+2
2019-12-14Adds Lorem Picsum as image providerAbner Soares Alves Junior1-0/+3
2018-10-28Merge branch 'master' of https://github.com/chinclubi/faker.jsMarak1-1/+13
2018-08-13Added custom background color to data URI imageKevin Yue1-2/+4
2018-08-13Make data URI text align center and middleKevin Yue1-3/+3
2017-02-11[api] [minor] Rename `dataurl` to `dataUri`Marak1-2/+2
2017-02-11#420 Added dataurl methodSylvain BANNIER1-1/+13
2017-02-11[api] Added additional https option for imageUrlMarak1-3/+6
* Only covers one image generation method * Current function signature is bloated * Needs to be refactored into options hash * Starts to address #442
2016-09-27remove object.assign.fix unit testChinCluBi1-1/+2
2016-09-27added lorempixel and unsplash properties to image objChinCluBi1-231/+10
2016-08-12move random image from lorempixel.com to unsplash.comChinCluBi1-7/+53
2016-03-03Install jsdoc and add doclet stubs for all methodsTobias Witt1-0/+130
Descriptions are taken from existing comments if available. The address module already has some new sample descriptions.
2015-12-07Add parametersCraig Morris1-29/+34
2015-07-08[api] [refactor] Rename `array_element` and `object_element` to camelCase. ↵Marak1-1/+1
Set default max random number to 99999. Added default arguments to some methods.
2015-07-08[refactor] [major] Adds incremental browser builds. Switch to using ↵Marak1-37/+38
prototype for internal API. Previous usage of `module.parent` is not acceptable. Locale information is now passed into Faker constructor. Closes #125
2015-07-07[refactor] [dist] Allow for node to require individual locales ( to avoid ↵Marak1-1/+1
the default behavior of requiring all locale data. #125 #167
2014-09-22[api] [minor] Added default values for more methods. Cleaned up image ↵Marak1-2/+6
module. Use a less specific regex for usernames.
2014-09-14[refactor] [major] Renamed variable names for consistency Closes #5 Marak1-14/+14
[refactor [major] Moved all errant methods from random.js to individual modules. Methods in random.js were causing unnecessary code complication.
2014-09-08Removed "this" from functions, breaks mixinsgoliatone1-13/+13
Conflicts: lib/name.js
2014-05-17Moving to major new version for change of package name for uppercase to ↵FotoVerite1-2/+2
lowercase.
2014-05-03functions should reference current literal:hkal1-13/+13
* fixes error: 'Uncaught ReferenceError: image is not defined Faker.js:275'
2014-02-17Fixes so build runs.FotoVerite1-54/+44
2014-01-08Add UIFaces to generate random avatarKieu Anh Tuan1-33/+45
2014-01-07Add support to lorempixel image providerKieu Anh Tuan1-0/+56