easy-api.ts
Version:
A powerful library to create your own API with ease.
1 lines • 548 B
JavaScript
Object.defineProperty(exports,"__esModule",{value:!0});let APIFunction_1=require("../../classes/structures/APIFunction"),path_1=require("path");class Join extends APIFunction_1.APIFunction{name="$pathJoin";description="Joins the provided paths.";parameters=[{name:"Paths",description:"Paths to be joined.",type:APIFunction_1.ParamType.String,required:!0,rest:!0,defaultValue:null}];usage="$pathJoin[...paths]";returns=APIFunction_1.ParamType.String;aliases=["$join"];compile=!0;async run(e,[...t]){return(0,path_1.join)(...t)}}exports.default=Join;