get-selected-text

Get selection or full line.

Usage no npm install needed!

<script type="module">
  import getSelectedText from 'https://cdn.skypack.dev/get-selected-text';
</script>

README

get-selected-text

Get selection or full line.