{"id":15608965,"url":"https://github.com/justjavac/deno-slash","last_synced_at":"2026-05-06T22:11:10.797Z","repository":{"id":62421514,"uuid":"224954473","full_name":"justjavac/deno-slash","owner":"justjavac","description":"Convert Windows backslash paths to slash paths","archived":false,"fork":false,"pushed_at":"2020-09-05T16:12:13.000Z","size":7,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T12:21:22.691Z","etag":null,"topics":["deno","deno-mod","deno-module","javascript"],"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/justjavac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-11-30T03:33:05.000Z","updated_at":"2021-10-12T23:32:38.000Z","dependencies_parsed_at":"2022-11-01T17:32:21.650Z","dependency_job_id":null,"html_url":"https://github.com/justjavac/deno-slash","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/justjavac/deno-slash","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno-slash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno-slash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno-slash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno-slash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justjavac","download_url":"https://codeload.github.com/justjavac/deno-slash/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justjavac%2Fdeno-slash/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32713945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T19:35:05.142Z","status":"ssl_error","status_checked_at":"2026-05-06T19:35:03.996Z","response_time":117,"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":["deno","deno-mod","deno-module","javascript"],"created_at":"2024-10-03T05:40:38.706Z","updated_at":"2026-05-06T22:11:10.782Z","avatar_url":"https://github.com/justjavac.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# deno-slash\n\n[![tag](https://img.shields.io/github/release/justjavac/deno-slash)](https://github.com/justjavac/deno-slash/releases)\n[![Build Status](https://github.com/justjavac/deno-slash/workflows/ci/badge.svg?branch=master)](https://github.com/justjavac/deno-slash/actions)\n[![license](https://img.shields.io/github/license/justjavac/deno-slash)](https://github.com/justjavac/deno-slash/blob/master/LICENSE)\n[![](https://img.shields.io/badge/deno-1.x-green.svg)](https://github.com/denoland/deno)\n\n\u003e Convert Windows backslash paths to slash paths: `foo\\\\bar` ➔ `foo/bar`\n\n[Forward-slash paths can be used in Windows](http://superuser.com/a/176395/6877) as long as they're not extended-length paths and don't contain any non-ascii characters.\n\nThis was created since the `path` methods in Node.js outputs `\\\\` paths on Windows.\n\n## Usage\n\n```js\nimport { slash } from \"https://deno.land/x/slash/mod.ts\";\n\nslash(\"foo\\\\bar\");\n// Unix    =\u003e foo/bar\n// Windows =\u003e foo/bar\n```\n\n## API\n\n### slash(path)\n\nType: `string`\n\nAccepts a Windows backslash path and returns a path with forward slashes.\n\n## Thanks\n\nHeavily inspired by [sindresorhus/slashh](https://github.com/sindresorhus/slash).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdeno-slash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustjavac%2Fdeno-slash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustjavac%2Fdeno-slash/lists"}