{"id":15701096,"url":"https://github.com/lirantal/typeform-export-excel","last_synced_at":"2025-05-12T15:40:12.530Z","repository":{"id":33843780,"uuid":"162923163","full_name":"lirantal/typeform-export-excel","owner":"lirantal","description":"Export a Typeform survey questionnaire to an Excel format","archived":false,"fork":false,"pushed_at":"2024-09-06T05:57:40.000Z","size":642,"stargazers_count":6,"open_issues_count":9,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-20T14:42:30.125Z","etag":null,"topics":["excel","export","nodejs","typeform"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lirantal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2018-12-23T20:51:59.000Z","updated_at":"2022-11-27T10:02:51.000Z","dependencies_parsed_at":"2024-01-29T09:18:40.322Z","dependency_job_id":"b9ae6512-096b-42e9-b42b-639d87245331","html_url":"https://github.com/lirantal/typeform-export-excel","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Ftypeform-export-excel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Ftypeform-export-excel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Ftypeform-export-excel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lirantal%2Ftypeform-export-excel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lirantal","download_url":"https://codeload.github.com/lirantal/typeform-export-excel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253766930,"owners_count":21961021,"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":["excel","export","nodejs","typeform"],"created_at":"2024-10-03T19:59:38.015Z","updated_at":"2025-05-12T15:40:12.494Z","avatar_url":"https://github.com/lirantal.png","language":"JavaScript","funding_links":[],"categories":["Projects by main language"],"sub_categories":["Old Projects"],"readme":"\u003cp align=\"center\"\u003e\u003ch1 align=\"center\"\u003e\n  typeform-export-excel\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  Export a Typeform survey questionnaire to an Excel format\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.org/package/typeform-export-excel\"\u003e\u003cimg src=\"https://badgen.net/npm/v/typeform-export-excel\"alt=\"npm version\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/typeform-export-excel\"\u003e\u003cimg src=\"https://badgen.net/npm/license/typeform-export-excel\"alt=\"license\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/typeform-export-excel\"\u003e\u003cimg src=\"https://badgen.net/npm/dt/typeform-export-excel\"alt=\"downloads\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://travis-ci.org/lirantal/typeform-export-excel\"\u003e\u003cimg src=\"https://badgen.net/travis/lirantal/typeform-export-excel\" alt=\"build\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://snyk.io/test/github/lirantal/typeform-export-excel\"\u003e\u003cimg src=\"https://snyk.io/test/github/lirantal/typeform-export-excel/badge.svg\" alt=\"Known Vulnerabilities\"/\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/nodejs/security-wg/blob/master/processes/responsible_disclosure_template.md\"\u003e\u003cimg src=\"https://img.shields.io/badge/Security-Responsible%20Disclosure-yellow.svg\" alt=\"Security Responsible Disclosure\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://user-images.githubusercontent.com/316371/50742434-ca58b300-1213-11e9-866a-b2508e48edff.png\" /\u003e\n\u003c/p\u003e\n\n# About\n\nThis library exports a Typeform survey to an Excel file with already aggregated results for all questions and their answers, and includes a tiny CLI helper to do this from command-line.\n\nBenefits over Typeform's CSV export:\n\n- **Organized data**: Each question is represented in its own worksheet.\n- **De-normalized**: Each question has all the aggregated answers counts already present in the worksheet in an organized manner.\n- **Graph-ready**: Data points are presented in a table structure allowing you to easily create a graph out of it.\n\n## Install\n\n```bash\nnpm install typeform-export-excel\n```\n\n## Usage (Library)\n\n```js\nconst TypeformExportExcel = require('typeform-export-excel')\n\n// NEVER EVER STORE SENSITIVE DATA IN YOUR SOURCE CODE\n// THIS IS JUST FOR THE SAKE OF EXAMPLE AND BREVITY\nconst apiKey = '1234'\nconst formId = 'Pdi981'\n\nconst typeformToExcel = new TypeformExportExcel({\n  credentials: {\n    apiKey: apiKey\n  },\n  workbookConfig: {\n    creator: 'Liran',\n    date: new Date()\n  }\n})\n\ntypeformToExcel\n  .createWorkbookFromForm(formId)\n  .then(() =\u003e {\n    return typeformToExcel.writeToFile({\n      filename: 'out.xlsx',\n      isDated: true\n    })\n  })\n  .then(() =\u003e {\n    debug(`Successfully exported: ${fileName}`)\n  })\n  .catch(error =\u003e {\n    console.error(`Error: ${error.message}`)\n    debug(error.stack)\n  })\n```\n\n## Usage (CLI)\n\nOnce installed, a binary named `typeform-export-excel` will be available on the path.\n\nThe following is supported command line arguments:\n\n| Option Name | Option Value | Description                                                                       |\n| ----------- | ------------ | --------------------------------------------------------------------------------- |\n| --apiKey    | 1234         | typeform's api key, for example: `--apiKey 1234`                                  |\n| --formId    | Pdi981       | the relevant form id, usually shows up in the URL, for example: `--formId Pdi981` |\n| --filename  | out.xlsx     | the filename to create and write to, for example: `--filename out.xlsx`           |\n| --dated     |              | (optional) the argument for adding export date to filename, for example: `--dated`|\n\n\nExample:\n\n```bash\n$ typeform-export-excel --apiKey 1234 --formId Pdi981 --filename survey-results.xlsx --author Liran\n```\n\n# Related\n\n[@lirantal/typeform-client](https://github.com/lirantal/typeform-client) - A friendlier Typeform Node.js API client\n\n# Contributing\n\nPlease consult [CONTIRBUTING](./CONTRIBUTING.md) for guidelines on contributing to this project.\n\n# Author\n\n**typeform-export-excel** © [Liran Tal](https://github.com/lirantal), Released under the [Apache-2.0](./LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Ftypeform-export-excel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flirantal%2Ftypeform-export-excel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flirantal%2Ftypeform-export-excel/lists"}