next-to-clipboard Copy text to clipboard. installation npm install -S @jswork/next-to-clipboard usage import '@jswork/next-to-clipboard'; document.getElementById('btn').onclick = function() { nx.toClipboard('TEXT_FEI' + Math.random()); }; license Code released under the MIT license.