Skip to content

useGetFilePath

Introduction

获取文件的绝对路径

Basic Usage

ts
import { useGetFilePath } from '@flypeng/tool/node';

Type Declaration

ts
/**
 * 获取文件的绝对路径
 * @param path 路径
 * @returns
 */
declare const useGetFilePath: (path: string) => string;

Released under the MIT License.