{"id":15509101,"url":"https://github.com/abmsourav/exporto","last_synced_at":"2025-03-28T18:47:00.275Z","repository":{"id":106081125,"uuid":"309072207","full_name":"AbmSourav/exporto","owner":"AbmSourav","description":"A tiny JavaScript Library. It Downloads data in your chosen file type.","archived":false,"fork":false,"pushed_at":"2020-11-03T07:08:43.000Z","size":1394,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-19T22:09:12.582Z","etag":null,"topics":["javascript","library"],"latest_commit_sha":null,"homepage":"","language":null,"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/AbmSourav.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-01T10:35:45.000Z","updated_at":"2021-01-26T15:03:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"585eaa74-4716-4185-b55b-02a13733d0dd","html_url":"https://github.com/AbmSourav/exporto","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbmSourav%2Fexporto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbmSourav%2Fexporto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbmSourav%2Fexporto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AbmSourav%2Fexporto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AbmSourav","download_url":"https://codeload.github.com/AbmSourav/exporto/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246083366,"owners_count":20720956,"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":["javascript","library"],"created_at":"2024-10-02T09:41:23.244Z","updated_at":"2025-03-28T18:47:00.258Z","avatar_url":"https://github.com/AbmSourav.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Exporto\nA tiny JavaScript Library. It Download data in your choosen file type.\nIt'll create a button, and download data in file.\n\n### Options:\n`targetNode` (required) - Dom Element. Button will be created in this dom element. \u003cbr\u003e\n`id` (required) - unique Button ID. \u003cbr\u003e\n`data` (required) - Data that will be downloaded. \u003cbr\u003e\n`fileType` (optional) - Default: `text/plain`. \u003cbr\u003e\n`fileExtension` (optional) - Default: `.txt` \u003cbr\u003e\n`className` (optional) - Default: `''` \u003cbr\u003e\n`buttonText` (optional) - Default: `Button` \u003cbr\u003e\n\u003cbr\u003e\n\n### Example\n\n```js\nconst expt = document.querySelector('.export');\n\nconst options = {\n\ttargetNode: expt,\n\tid: 'exporto',\n\tdata: 'Apple,Orange,Pineapple',\n\tfileType: 'text/csv',\n\tfileExtension: '.csv',\n\tclassName: 'export-btn',\n\tbuttonText: 'Export'\n} \nExporto( options ).loaded();\n```\n\n![Exporto demo](https://github.com/AbmSourav/exporto/blob/dev/doc-resource/Exporto-doc.gif)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabmsourav%2Fexporto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabmsourav%2Fexporto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabmsourav%2Fexporto/lists"}