{"id":15676494,"url":"https://github.com/shadowtime2000/denoname","last_synced_at":"2025-06-29T13:37:57.111Z","repository":{"id":57675423,"uuid":"301259541","full_name":"shadowtime2000/denoname","owner":"shadowtime2000","description":"A dead simple way to get the Deno equivalent of dirname and filename.","archived":false,"fork":false,"pushed_at":"2020-11-02T05:37:09.000Z","size":114,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-01T18:59:17.830Z","etag":null,"topics":["deno","deno-equivalent","deno-mod","deno-module","denoland","denoname","dirname","filename","javascript","javascript-library","nodejs","path","typescript","typescript-library"],"latest_commit_sha":null,"homepage":"https://nest.land/package/denoname","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/shadowtime2000.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}},"created_at":"2020-10-05T00:56:05.000Z","updated_at":"2021-07-12T21:41:22.000Z","dependencies_parsed_at":"2022-09-26T18:11:17.945Z","dependency_job_id":null,"html_url":"https://github.com/shadowtime2000/denoname","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/shadowtime2000/denoname","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdenoname","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdenoname/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdenoname/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdenoname/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shadowtime2000","download_url":"https://codeload.github.com/shadowtime2000/denoname/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shadowtime2000%2Fdenoname/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262601287,"owners_count":23335228,"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":["deno","deno-equivalent","deno-mod","deno-module","denoland","denoname","dirname","filename","javascript","javascript-library","nodejs","path","typescript","typescript-library"],"created_at":"2024-10-03T16:02:18.972Z","updated_at":"2025-06-29T13:37:57.082Z","avatar_url":"https://github.com/shadowtime2000.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"assets/logo.jpg\" align=\"center\" /\u003e\n\u003ch1 align=\"center\"\u003edenoname\u003c/h1\u003e\n\u003cp align=\"center\"\u003eA dead simple way to get the Deno equivalent of \u003ccode\u003edirname\u003c/code\u003e \u003ccode\u003epath\u003c/code\u003e and \u003ccode\u003efilename\u003c/code\u003e.\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n    \u003cspan align=\"center\"\u003e\u003ca href=\"https://deno.land/x/denoname\"\u003e\u003cimg src=\"https://img.shields.io/badge/deno-module-informational?logo=deno\" /\u003e\u003c/a\u003e\u003c/span\u003e\n    \u003cspan align=\"center\"\u003e\u003ca href=\"https://nest.land/package/denoname\"\u003e\u003cimg src=\"https://nest.land/badge.svg\" /\u003e\u003c/a\u003e\u003c/span\u003e\n    \u003cspan align=\"center\"\u003e\u003cimg src=\"https://img.shields.io/github/license/shadowtime2000/denoname\" /\u003e\u003c/span\u003e\n\u003c/p\u003e\n\n## CDN\nYou can get this package from [denopkg](https://denopkg.com/shadowtime2000/denoname) or from [deno.land/x](https://deno.land/x/denoname) or from [nest.land](https://nest.land/package/denoname).\n\n### Usage\n```typescript\nimport dirname from \"https://x.nest.land/denoname@0.8.2/mod/dirname.ts\";\nimport path from \"https://x.nest.land/denoname@0.8.2/mod/path.ts\";\nimport filename from \"https://x.nest.land/denoname@0.8.2/mod/filename.ts\";\n\nconst __dirname = dirname(import.meta);\nconst __path = path(import.meta);\nconst __filename = filename(import.meta);\n```\n\nYou can also generate both of them in one go!\n\n```typescript\nimport generate from \"https://x.nest.land/denoname@0.8.2/mod.ts\";\n\nconst { dirname, path, filename } = generate(import.meta);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fdenoname","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshadowtime2000%2Fdenoname","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshadowtime2000%2Fdenoname/lists"}