@skpm/process

Drop-in replacement for the process NodeJS global

Usage no npm install needed!

<script type="module">
  import skpmProcess from 'https://cdn.skypack.dev/@skpm/process';
</script>

README

process for Sketch

All the nodejs process API is available but some might just be stubs.

The only additional key we are setting is type which matches what electron is doing and its value is sketch. Pretty useful to create script that does different things depending on where it's running.