{"id":43705055,"url":"https://github.com/zeropaper/fixturer","last_synced_at":"2026-02-05T05:39:26.232Z","repository":{"id":15166140,"uuid":"17893856","full_name":"zeropaper/fixturer","owner":"zeropaper","description":"A small module to generate fixtures","archived":false,"fork":false,"pushed_at":"2015-03-07T10:45:20.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-21T11:40:03.089Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zeropaper.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-19T05:58:40.000Z","updated_at":"2015-03-07T10:45:21.000Z","dependencies_parsed_at":"2022-09-08T00:01:02.648Z","dependency_job_id":null,"html_url":"https://github.com/zeropaper/fixturer","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zeropaper/fixturer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropaper%2Ffixturer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropaper%2Ffixturer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropaper%2Ffixturer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropaper%2Ffixturer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeropaper","download_url":"https://codeload.github.com/zeropaper/fixturer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeropaper%2Ffixturer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29113890,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-02-05T05:39:22.542Z","updated_at":"2026-02-05T05:39:26.223Z","avatar_url":"https://github.com/zeropaper.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"fixturer\n========\n\nA small module to generate fixtures\n\n## Installation\n\nThe project is not yet in the npm registry but you can install it as follow\n```sh\nnpm install --save-dev zeropaper/fixturer\n```\n\n## Usage\n\nCan be used as a tool-belt\n```js\nvar fixturer = require('fixturer');\nvar randomInterger = fixturer.random(3, 10);\n```\nor with a JSON definition.\n```js\nvar json = {\n    \"id\": \"\u003c%= uuid() %\u003e\",\n    \"name\": {\n        \"first\": \"\u003c%= personeName(true, false, false) %\u003e\",\n        \"last\": \"\u003c%= personeName(false, true, false) %\u003e\",\n        \"middle\": \"\u003c%= personeName(false, false, true) %\u003e\"\n    }\n};\n\nfixturer(json);\n```\n\nIt should be possible to use it in a browser.. but... I didn't test it.\n\n\n## Methods\n\n### loremIpsum\nGenerate a random text\n\n### random\n\n### randomItem\n\n### randomString\n\n### randomDate\n\n### evilScript\n\n### evilLink\n\n### personName\nPerson name generation\n\n__Params__\n\n *  {bool} first      - if strictly `false`, no first name part\n *  {bool} last       - if strictly `false`, no last name part\n *  {bool} middle     - if truthy, adds a middle name part\n *  {string} gender   - can be 'male', 'female', random if not defined\n                        (I know it's a bit limited)\n\n### thingName\nThing name generation\n\n__Params__\n\n *  {int} count       - the number of words used\n\n## License\nThe MIT License (MIT)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropaper%2Ffixturer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeropaper%2Ffixturer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeropaper%2Ffixturer/lists"}