{"id":19450398,"url":"https://github.com/ymc-github/sh-lib-fun","last_synced_at":"2025-11-19T10:04:04.095Z","repository":{"id":95798713,"uuid":"271242838","full_name":"YMC-GitHub/sh-lib-fun","owner":"YMC-GitHub","description":"some function for handle fun for ymc shell lib","archived":false,"fork":false,"pushed_at":"2020-06-10T10:06:12.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-07T23:44:47.992Z","etag":null,"topics":["fun","sh-lib"],"latest_commit_sha":null,"homepage":null,"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":"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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-10T10:05:40.000Z","updated_at":"2020-06-11T14:00:05.000Z","dependencies_parsed_at":"2023-04-08T05:02:02.211Z","dependency_job_id":null,"html_url":"https://github.com/YMC-GitHub/sh-lib-fun","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-fun","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-fun/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-fun/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YMC-GitHub%2Fsh-lib-fun/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YMC-GitHub","download_url":"https://codeload.github.com/YMC-GitHub/sh-lib-fun/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240637611,"owners_count":19833149,"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":["fun","sh-lib"],"created_at":"2024-11-10T16:37:13.795Z","updated_at":"2025-11-19T10:03:59.073Z","avatar_url":"https://github.com/YMC-GitHub.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sh lib fun\n\n## desc\n\nsome function for handle fun for ymc shell lib\n\n## apis\n\n- [x] fun_log\n- [x] fun_apply\n- [x] fun_call\n- [x] fun_bind\n\n## feats\n\n- [x] basic `curd` fun\n\n```sh\ncat src/index.sh | grep \"function \" | sed \"s/function */- [x] /g\"  | sed \"s/() *{//g\"\n```\n\n## how to use for poduction?\n\n```sh\n# get the code\n\n# run the index file\n# ./src/index.sh\n\n# or import to your sh file\n# source /path/to/the/index file\n\n# simple usage\nfun_apply \"str_eq\" \"hi hi\"\nfun_apply \"str_eq\" \"hi c\"\nfun_bind \"str_eq\" \"hi\" \"hi\"\nfun_bind \"str_eq\" \"hi\" \"c\"\n```\n\n## how to use for developer?\n\n```sh\n# get the code\n\n# run test\n./src/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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymc-github%2Fsh-lib-fun","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fymc-github%2Fsh-lib-fun","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fymc-github%2Fsh-lib-fun/lists"}