{"id":19450354,"url":"https://github.com/ymc-github/sh-lib-path-resolve","last_synced_at":"2025-07-20T02:38:01.872Z","repository":{"id":95798728,"uuid":"236037947","full_name":"YMC-GitHub/sh-lib-path-resolve","owner":"YMC-GitHub","description":"resovle path like nodejs lib 'path'","archived":false,"fork":false,"pushed_at":"2020-02-14T06:15:07.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-25T09:23:34.586Z","etag":null,"topics":["lib","path","shell"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/YMC-GitHub.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-01-24T16:20:34.000Z","updated_at":"2020-02-14T06:16:31.000Z","dependencies_parsed_at":"2023-05-03T12:46:47.829Z","dependency_job_id":null,"html_url":"https://github.com/YMC-GitHub/sh-lib-path-resolve","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/YMC-GitHub/sh-lib-path-resolve","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-path-resolve","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-path-resolve/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-path-resolve/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-path-resolve/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YMC-GitHub","download_url":"https://codeload.github.com/YMC-GitHub/sh-lib-path-resolve/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-path-resolve/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266058481,"owners_count":23870157,"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":["lib","path","shell"],"created_at":"2024-11-10T16:36:58.732Z","updated_at":"2025-07-20T02:38:01.845Z","avatar_url":"https://github.com/YMC-GitHub.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sh lib path resovle\n\n## desc\n\nresovle path like nodejs lib 'path'\n\n## feat\n- support absolute\n- support relative\n\n## how to use for poduction?\n\n```sh\n# get the code\n\n# run the index file\n# ./index.sh\n\n# or import to your sh file\n# source /path/to/the/index file\n\n# usage\n# path_resolve \"/app\" \"src'\n# path_resolve \"/app/src\" \"./xx/xx/b/\"\n# path_resolve \"/app/src\" \"../xx/xx/a/\"\n# path_resolve \"/app/src\" \"/d\"\n```\n\n## how to use for developer?\n\n```sh\n# get the code\n\n# run test\n./test.sh\n#2 get some fail test\n./test.sh | grep \"it is false\"\n```\n\n## author\n\nyemiancheng \u003cymc.github@gmail.com\u003e\n\n## license\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymc-github%2Fsh-lib-path-resolve","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymc-github%2Fsh-lib-path-resolve","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymc-github%2Fsh-lib-path-resolve/lists"}