{"id":21675956,"url":"https://github.com/helpscout/helix","last_synced_at":"2025-04-12T04:55:00.429Z","repository":{"id":46949025,"uuid":"109306493","full_name":"helpscout/helix","owner":"helpscout","description":"💠 Helix: A fixture generator for Javascript, powered by Faker.js","archived":false,"fork":false,"pushed_at":"2023-01-03T18:14:14.000Z","size":1105,"stargazers_count":20,"open_issues_count":9,"forks_count":3,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-12T04:54:52.117Z","etag":null,"topics":["faker","fixtures","generator","javascript","open-source","specs"],"latest_commit_sha":null,"homepage":"","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/helpscout.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":"2017-11-02T18:58:43.000Z","updated_at":"2024-01-30T15:39:08.000Z","dependencies_parsed_at":"2023-02-01T08:30:16.577Z","dependency_job_id":null,"html_url":"https://github.com/helpscout/helix","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpscout%2Fhelix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpscout%2Fhelix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpscout%2Fhelix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helpscout%2Fhelix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helpscout","download_url":"https://codeload.github.com/helpscout/helix/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248519472,"owners_count":21117757,"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":["faker","fixtures","generator","javascript","open-source","specs"],"created_at":"2024-11-25T14:11:40.906Z","updated_at":"2025-04-12T04:55:00.405Z","avatar_url":"https://github.com/helpscout.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helix 💠\n\n[![Build Status](https://travis-ci.org/helpscout/helix.svg?branch=master)](https://travis-ci.org/helpscout/helix) [![Coverage Status](https://coveralls.io/repos/github/helpscout/helix/badge.svg?branch=master)](https://coveralls.io/github/helpscout/helix?branch=master) [![npm version](https://badge.fury.io/js/%40helpscout%2Fhelix.svg)](https://badge.fury.io/js/%40helpscout%2Fhelix)\n\n\u003e A fixture generator for Javascript, powered by [Faker](https://github.com/marak/Faker.js/).\n\nHelix allows you to quickly (and reliably) generate fixture data to be hydrated into Javascript components/views (like React, Vue, Backbone, etc…).\n\n## Install\n\n```\nnpm install @helpscout/helix --save-dev\n```\n\n## Documentation\n\nCheck out **[our documentation](./docs)** for more info!\n\n## Basic usage\n\nThe `createSpec` function is used to define your fixture spec. Helix comes with an adjusted version of [Faker.js](https://github.com/marak/Faker.js/), which also needs to be imported. Note, the API for Helix's faker is the **exact** same as Faker.js.\n\n```js\nimport { createSpec, faker } from '@helpscout/helix'\n\nconst CustomerSpec = createSpec({\n  id: faker.datatype.number()\n  fname: faker.name.firstName()\n  lname: faker.name.lastName()\n  company: faker.company.companyName()\n})\n\nconst fixture = CustomerSpec.generate()\n\n// Output\n// {\n//   id: 12339041,\n//   fname: 'Alice',\n//   lname: 'Konigsberg',\n//   company: 'Smiths Co.'\n// }\n```\n\nFor a full list of Faker methods, check out [their documentation](https://github.com/marak/Faker.js/#api-methods).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelpscout%2Fhelix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelpscout%2Fhelix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelpscout%2Fhelix/lists"}