{"id":18899549,"url":"https://github.com/imrandil/csv_to_json_npm_package","last_synced_at":"2026-03-09T12:01:48.447Z","repository":{"id":238765188,"uuid":"797312353","full_name":"IMRANDIL/csv_to_json_npm_package","owner":"IMRANDIL","description":"A simple npm package to generate json file from CSV file.","archived":false,"fork":false,"pushed_at":"2024-05-18T01:17:56.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T02:51:08.513Z","etag":null,"topics":["csv-files","javascript","json","npm-package"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@imrandil/csv_to_json","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/IMRANDIL.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":"2024-05-07T15:41:52.000Z","updated_at":"2024-05-18T01:17:59.000Z","dependencies_parsed_at":"2024-05-18T02:26:43.246Z","dependency_job_id":null,"html_url":"https://github.com/IMRANDIL/csv_to_json_npm_package","commit_stats":null,"previous_names":["imrandil/csv_to_json_npm_package"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/IMRANDIL/csv_to_json_npm_package","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMRANDIL%2Fcsv_to_json_npm_package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMRANDIL%2Fcsv_to_json_npm_package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMRANDIL%2Fcsv_to_json_npm_package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMRANDIL%2Fcsv_to_json_npm_package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IMRANDIL","download_url":"https://codeload.github.com/IMRANDIL/csv_to_json_npm_package/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IMRANDIL%2Fcsv_to_json_npm_package/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30294678,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T11:12:22.024Z","status":"ssl_error","status_checked_at":"2026-03-09T11:10:54.577Z","response_time":61,"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":["csv-files","javascript","json","npm-package"],"created_at":"2024-11-08T08:46:49.614Z","updated_at":"2026-03-09T12:01:48.427Z","avatar_url":"https://github.com/IMRANDIL.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSV to JSON Converter\n\nA simple npm package for generating a JSON file (.json) from a CSV file.\n\n## Installation\n\nYou can install the package via npm:\n\n```bash\nnpm install @imrandil/csv_to_json\n```\n\n## Usage\n\n```javascript\nconst convertCSVtoJSON = require('@imrandil/csv_to_json');\n\nconst csvFilePath = 'example.csv';\nconst jsonFilePath = 'output.json';\n\n(async () =\u003e {\n    try {\n        await convertCSVtoJSON(csvFilePath, jsonFilePath);\n        console.log('CSV converted to JSON. JSON file saved:', jsonFilePath);\n    } catch (error) {\n        console.error('Error converting CSV to JSON:', error);\n    }\n})();\n```\n\n## API\n\n### convertCSVtoJSON(csvFilePath, jsonFilePath)\n\nConverts a CSV file to a JSON file.\n\n- `csvFilePath` (string): The path to the CSV file.\n- `jsonFilePath` (string): The path to save the JSON file.\n\nReturns a Promise that resolves when the conversion is complete.\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrandil%2Fcsv_to_json_npm_package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimrandil%2Fcsv_to_json_npm_package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimrandil%2Fcsv_to_json_npm_package/lists"}