UNPKG

@estarlincito/utils

Version:

A collection of utility functions designed to simplify and speed up development tasks in JavaScript and TypeScript projects.

14 lines (13 loc) 395 B
/** * Asynchronously writes text to the clipboard. * * This function uses the Clipboard API to copy the provided text to the user's clipboard. * * @param text - The text to be copied to the clipboard. * * @example * const text = 'Hello, World!'; * await clipMaster(text); * console.log('Text copied to clipboard'); */ export declare const clipMaster: (text: string) => Promise<void>;