{"id":15492127,"url":"https://github.com/imjuni/my-node-fp","last_synced_at":"2025-08-02T05:08:45.437Z","repository":{"id":57687617,"uuid":"473025032","full_name":"imjuni/my-node-fp","owner":"imjuni","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-25T07:50:56.000Z","size":1439,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-29T06:34:04.438Z","etag":null,"topics":[],"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/imjuni.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":"2022-03-23T03:36:44.000Z","updated_at":"2023-03-17T12:56:27.000Z","dependencies_parsed_at":"2023-09-23T11:25:00.507Z","dependency_job_id":"aa9443e0-1eaf-47ae-80f3-1dcf7f80d018","html_url":"https://github.com/imjuni/my-node-fp","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"ac4484b0298b7ba9f35574266ccf6550d3f8c88d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imjuni/my-node-fp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjuni%2Fmy-node-fp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjuni%2Fmy-node-fp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjuni%2Fmy-node-fp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjuni%2Fmy-node-fp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imjuni","download_url":"https://codeload.github.com/imjuni/my-node-fp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imjuni%2Fmy-node-fp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268338239,"owners_count":24234540,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"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":[],"created_at":"2024-10-02T07:58:56.473Z","updated_at":"2025-08-02T05:08:45.407Z","avatar_url":"https://github.com/imjuni.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple node programming utility\n\n![ts](https://flat.badgen.net/badge/Built%20With/TypeScript/blue)\n[![Download Status](https://img.shields.io/npm/dw/my-node-fp.svg)](https://npmcharts.com/compare/my-node-fp?minimal=true)\n[![Github Star](https://img.shields.io/github/stars/imjuni/my-node-fp.svg?style=popout)](https://github.com/imjuni/my-node-fp)\n[![Github Issues](https://img.shields.io/github/issues-raw/imjuni/my-node-fp.svg)](https://github.com/imjuni/my-node-fp/issues)\n[![NPM version](https://img.shields.io/npm/v/my-node-fp.svg)](https://www.npmjs.com/package/my-node-fp)\n[![License](https://img.shields.io/npm/l/my-node-fp.svg)](https://github.com/imjuni/my-node-fp/blob/master/LICENSE)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\nSimple utility functions that can use node.\n\n## Function list\n\n### fs\n\n| name | description |\n| - | - |\n| exists | check file or directory exist, return boolean. exactly same depreciated fs.promise.exists funciton |\n| existsSync | check file or directory exist, return boolean. exactly same depreciated fs.existsSync funciton |\n| getDirname | get directory name. If targetPath is already directory return targetPath(not parent directory) |\n| getDirnameSync | get directory name. If targetPath is already directory return targetPath(not parent directory) |\n| isDirectory | if targetPath is directory, return true |\n| isDirectorySync | if targetPath is directory, return true |\n| isEmptyDir | check directory is empty |\n| isEmptyDirSync | check directory is empty |\n| isDescendant | check target directory is descendant of parent directory |\n\n### path\n\n| name | description |\n| - | - |\n| basenames | Return the last portion of a path, suffix can be string, string[] |\n| replaceSepToPosix | change sep to posix.sep |\n| replaceSepToWin32 | change sep to win32.sep |\n| win32DriveLetterUpdown | change win32 drive letter (ex\u003e c:) to upper or lower |\n| startSepAppend | starts sep(or you can pass sep character) append if not start sep |\n| endSepAppend | ends sep(or you can pass sep character) append if not end sep |\n| startSepRemove | starts sep(or you can pass sep character) remove if start sep |\n| endSepRemove | ends sep(or you can pass sep character) remove if end sep |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjuni%2Fmy-node-fp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimjuni%2Fmy-node-fp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimjuni%2Fmy-node-fp/lists"}