{"id":21050952,"url":"https://github.com/theopenwebjp/theopenweb-data-loader","last_synced_at":"2025-10-10T08:01:32.915Z","repository":{"id":176559109,"uuid":"622213405","full_name":"theopenwebjp/theopenweb-data-loader","owner":"theopenwebjp","description":"Package for loading data to local project","archived":false,"fork":false,"pushed_at":"2023-04-01T14:00:35.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-20T22:51:36.317Z","etag":null,"topics":["data","downloader","import","javascript","typings"],"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/theopenwebjp.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}},"created_at":"2023-04-01T13:07:33.000Z","updated_at":"2023-07-12T13:39:22.000Z","dependencies_parsed_at":"2023-10-02T00:21:30.336Z","dependency_job_id":null,"html_url":"https://github.com/theopenwebjp/theopenweb-data-loader","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"0a2dc896ab55eef894c6eb48df31ff571b2310fb"},"previous_names":["theopenwebjp/theopenweb-data-loader"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopenwebjp%2Ftheopenweb-data-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopenwebjp%2Ftheopenweb-data-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopenwebjp%2Ftheopenweb-data-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theopenwebjp%2Ftheopenweb-data-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theopenwebjp","download_url":"https://codeload.github.com/theopenwebjp/theopenweb-data-loader/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243495377,"owners_count":20299924,"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":["data","downloader","import","javascript","typings"],"created_at":"2024-11-19T15:48:51.329Z","updated_at":"2025-10-10T08:01:32.804Z","avatar_url":"https://github.com/theopenwebjp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Description\n\nPackage for loading data(including types) to local project.\n\n## Installation\n\n```bash\nnpm install @theopenweb/theopenweb-data-loader\n```\n\n## Usage\n\n```bash\ntheopenweb-data-loader download [URL]\n```\n\nAs a normal script: package.json\n\n```json\n{\n    \"scripts\": {\n        \"update-types\": \"theopenweb-data-loader download https://raw.githubusercontent.com/theopenwebjp/theopenweb-public-contributions/master/contributions/manual-typescript-types/twilio.ts\"\n    }\n}\n```\n\nAs a one-time after-installation script: package.json\n\n```json\n{\n    \"scripts\": {\n        \"postinstall\": \"theopenweb-data-loader download https://raw.githubusercontent.com/theopenwebjp/theopenweb-public-contributions/master/contributions/manual-typescript-types/twilio.ts\"\n    }\n}\n```\n\n## Data directories/files\n\n- .d.ts: /types/[FILENAME].d.ts\n- .ts: /types/[FILENAME].ts\n- .schema.json: /schema/[FILENAME].schema.json\n- Other: /data/[FILENAME_AND_EXTENSION]\n\n## Presets\n\nCan manually specify any of the following presets using --preset=[PRESET]\n\n- types\n- schema\n- data\n\n## Specification\n\n- Adds to new directory in newly(first time) generated file.\n- On re-execution, generated files are updated.\n- Directories are never overwritten.\n- Only files that are generated are overwritten.\n\n## Test\n\n- Test from [./playground](./playground) directory to test cwd and not accidentally commit any downloaded files.\n- [Example data URL](https://raw.githubusercontent.com/theopenwebjp/theopenweb-public-contributions/master/contributions/manual-typescript-types/twilio.ts)\n- From playground directory: `node ../cli.js download --preset=types https://raw.githubusercontent.com/theopenwebjp/theopenweb-public-contributions/master/contributions/manual-typescript-types/twilio.ts`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheopenwebjp%2Ftheopenweb-data-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheopenwebjp%2Ftheopenweb-data-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheopenwebjp%2Ftheopenweb-data-loader/lists"}