{"id":15504716,"url":"https://github.com/alanbsmith/contact-generator","last_synced_at":"2025-10-10T15:45:42.360Z","repository":{"id":78447962,"uuid":"329736191","full_name":"alanbsmith/contact-generator","owner":"alanbsmith","description":"a script for generating random contact data","archived":false,"fork":false,"pushed_at":"2021-01-14T21:15:17.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-02T19:33:26.259Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alanbsmith.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-14T21:14:47.000Z","updated_at":"2021-03-15T07:09:34.000Z","dependencies_parsed_at":"2023-04-22T17:46:00.141Z","dependency_job_id":null,"html_url":"https://github.com/alanbsmith/contact-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcontact-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcontact-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcontact-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alanbsmith%2Fcontact-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alanbsmith","download_url":"https://codeload.github.com/alanbsmith/contact-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083080,"owners_count":20720908,"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-02T09:19:43.668Z","updated_at":"2025-10-10T15:45:37.303Z","avatar_url":"https://github.com/alanbsmith.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contact Generator\n\n## Up \u0026 Running\n\n### Install Dependencies\n\n```sh\nnpm install\n```\n\n### Generate Contacts\n\nBy default, this script will generate 1000 contacts and put it in `./data/contacts.csv`\n\n```sh\nnode .\n```\n\n## Customization\n\nThere are a handful of things you can customize with this script:\n\n- Contact Count `-c` or `-count`\n- File Path `-path` or `-p`\n- File Format `-format` or `-f`\n- Contact Attributes `-attrs` or `-a`\n\n### Contact Count\n\nBy default, this is set to 1000, but you can set it to any amount\n\n```sh\nnode . -count=2000\n# or\nnode . -c=2000\n```\n\n### File Path\n\nBy default, this is set to `./data/contacts.{fileFormat}`, but you can also provide a custom path. If a directory does not exist, the script will create it for you.\n\n```sh\nnode . -path=data/json/contact-data\n# or\nnode . -p=data/json/contact-data\n```\n\n### File Format\n\nBy default, this is set to `csv`, but you can also use `json`\n\n```sh\nnode . -format=json\n# or\nnode . -f=json\n```\n\n### - Contact Attributes\n\nBy default, `id`, `firstName`, `lastName`, and `email` attributes will be added to contacts, but you can provide any of the following:\n\n- `id`\n- `firstName`\n- `lastName`\n- `email`\n- `city`\n- `state`\n- `zipCode`\n\n```sh\nnode . -attrs={id,firstName,lastName,email,city,state,zipCode}\n# or\nnode . -a={id,firstName,lastName,email,city,state,zipCode}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fcontact-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falanbsmith%2Fcontact-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falanbsmith%2Fcontact-generator/lists"}