UNPKG

@studiometa/js-toolkit

Version:

A set of useful little bits of JavaScript to boost your project! 🚀

8 lines (7 loc) • 229 B
/** * Remove the trailing slash from a string. * * @param {string} string The string to modify. * @returns {string} The string without trailing slash. */ export declare function withoutTrailingSlash(string: string): string;