duplicate-line-or-selection

Sublime style duplication.

Usage no npm install needed!

<script type="module">
  import duplicateLineOrSelection from 'https://cdn.skypack.dev/duplicate-line-or-selection';
</script>

README

Duplicate Line or Selection

Duplicates the selection if there is one, otherwise, duplicates the line.