{"id":16860470,"url":"https://github.com/webpro/dyson-generators","last_synced_at":"2025-07-01T10:34:38.025Z","repository":{"id":6919708,"uuid":"8170464","full_name":"webpro/dyson-generators","owner":"webpro","description":"Fake data generators, used by dyson and dyson-image","archived":false,"fork":false,"pushed_at":"2019-10-03T20:15:46.000Z","size":5,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-25T11:08:54.545Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mads379/scala.tmbundle","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/webpro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-02-13T00:24:54.000Z","updated_at":"2024-11-28T16:31:19.000Z","dependencies_parsed_at":"2022-07-21T12:18:16.426Z","dependency_job_id":null,"html_url":"https://github.com/webpro/dyson-generators","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/webpro/dyson-generators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fdyson-generators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fdyson-generators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fdyson-generators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fdyson-generators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webpro","download_url":"https://codeload.github.com/webpro/dyson-generators/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webpro%2Fdyson-generators/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261897000,"owners_count":23226647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T14:24:25.712Z","updated_at":"2025-07-01T10:34:38.000Z","avatar_url":"https://github.com/webpro.png","language":"JavaScript","readme":"# dyson-generators\n\nFake data generators, used by [dyson](http://github.com/webpro/dyson) and [dyson-image](http://github.com/webpro/dyson-image).\n\n## Installation\n\nInstall dyson-generators locally by including it in `package.json` as a `devDependency`:\n\n    \"devDependencies\": {\n        \"dyson-generators\": \"~0.1\"\n    }\n\n## Examples\n\n    var g = require('dyson-generators');\n\n    g.id()              // 1 (consecutive calls return 2, 3, 4, ..)\n    g.random(20)        // 13\n    g.name()            // 'John', 'Olivia`\n    g.address.city()    // 'Mexico City', 'Beijing'\n    g.address.zipUS()   // '53142', '71238'\n    g.address.zipNL()   // '4715 FW', '7551 VT'\n    g.time.byQuarter()  // '14:45', '9:00'\n\nThe `g.image.base64()` method is a proxy to [http://dummyimage.com](http://dummyimage.com) by default:\n\n    // Returns 'data:image/png;base64,iVBORw0KGgoAAAANSUh...'\n    g.image.base64({width:200, height: 200});\n\n    // See http://dummyimage.com for documentation\n    g.image.base64({path:'/200x300\u0026text=dummyimage.com+rocks!'});\n\n    // Return base64 image string from a custom image service\n    g.image.base64({\n        host: 'http://lorempixel.com',\n        path: '/150/150/abstract/' + g.random(10)\n    });\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fdyson-generators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebpro%2Fdyson-generators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebpro%2Fdyson-generators/lists"}