{"id":15407824,"url":"https://github.com/eliassjogreen/dimp","last_synced_at":"2026-06-23T03:31:30.900Z","repository":{"id":109472503,"uuid":"239130657","full_name":"eliassjogreen/dimp","owner":"eliassjogreen","description":"A helper for adding and removing imports from import maps made for deno","archived":false,"fork":false,"pushed_at":"2020-02-08T12:52:43.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-01T07:21:12.320Z","etag":null,"topics":["deno","import-map","import-maps"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/eliassjogreen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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-02-08T12:42:29.000Z","updated_at":"2020-02-08T12:52:45.000Z","dependencies_parsed_at":"2023-04-12T17:35:12.662Z","dependency_job_id":null,"html_url":"https://github.com/eliassjogreen/dimp","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"93baf152ba707cd1332cd755e7c33ffe46a562d4"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eliassjogreen/dimp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliassjogreen%2Fdimp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliassjogreen%2Fdimp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliassjogreen%2Fdimp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliassjogreen%2Fdimp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eliassjogreen","download_url":"https://codeload.github.com/eliassjogreen/dimp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eliassjogreen%2Fdimp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34674702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["deno","import-map","import-maps"],"created_at":"2024-10-01T16:29:50.919Z","updated_at":"2026-06-23T03:31:30.884Z","avatar_url":"https://github.com/eliassjogreen.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DIMP\r\n\r\n\u003e **D**ENO **IMP**ORT MAP\r\n\r\n`dimp` is a helper for adding and removing imports from [import maps](https://github.com/WICG/import-maps) made for deno.\r\n\r\n## Install\r\n\r\nTo install `dimp` simply enter the following into the terminal:\r\n`deno install dimp https://denolib.com/eliassjogreen/dimp/dimp.ts --allow-read --allow-write`\r\n\r\n## Usage\r\n\r\n### Add\r\n\r\nThe add command adds files or directories or both to the import map.\r\n\r\nExamples:\r\n\r\n#### Adding a file\r\n```\r\ndimp add https://deno.land/x/denon/watcher.ts -a false\r\n```\r\n```\r\n{\r\n    \"imports\": {\r\n        \"watcher\": \"https://deno.land/x/denon/watcher.ts\"\r\n    }\r\n}\r\n```\r\n\r\n#### Adding a file and directory\r\n```\r\ndimp add https://deno.land/x/denon/watcher.ts\r\n```\r\n```\r\n{\r\n    \"imports\": {\r\n        \"watcher\": \"https://deno.land/x/denon/watcher.ts\",\r\n        \"denon/\": \"https://deno.land/x/denon/\"\r\n    }\r\n}\r\n```\r\n\r\n#### Adding a directory\r\n```\r\ndimp add https://deno.land/x/denon/\r\n```\r\n```\r\n{\r\n    \"imports\": {\r\n        \"denon/\": \"https://deno.land/x/denon/\"\r\n    }\r\n}\r\n```\r\n\r\n### Remove\r\n\r\n#### Removing a file\r\n``` \r\n{\r\n    \"imports\": {\r\n        \"watcher\": \"https://deno.land/x/denon/watcher.ts\",\r\n        \"denon/\": \"https://deno.land/x/denon/\"\r\n    }\r\n}\r\n```\r\n```\r\ndimp remove watcher\r\n```\r\n``` \r\n{\r\n    \"imports\": {\r\n        \"denon/\": \"https://deno.land/x/denon/\"\r\n    }\r\n}\r\n```\r\n\r\n#### Removing a directory\r\n``` \r\n{\r\n    \"imports\": {\r\n        \"watcher\": \"https://deno.land/x/denon/watcher.ts\",\r\n        \"denon/\": \"https://deno.land/x/denon/\"\r\n    }\r\n}\r\n```\r\n```\r\ndimp remove denon\r\n```\r\n``` \r\n{\r\n    \"imports\": {\r\n        \"watcher\": \"https://deno.land/x/denon/watcher.ts\"\r\n    }\r\n}\r\n```\r\n\r\n## Todo\r\n\r\n- [ ] Help dialog\r\n- [ ] Built in run and fetch command?\r\n- [ ] Scope commands\r\n- [ ] Remove directory and all subdirectories/files\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliassjogreen%2Fdimp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feliassjogreen%2Fdimp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feliassjogreen%2Fdimp/lists"}