root-check

Try to downgrade the permissions of a process with root privileges and block access if it fails

Usage no npm install needed!

<script type="module">
  import rootCheck from 'https://cdn.skypack.dev/root-check';
</script>