Creates a swapfile. User will be prompted for size. Has only been tested on ubuntu. Inspired by this digital ocean example.
If grump has not yet been installed, you can do so using:
npm i -g grump
Example usage:
grump makeswap
see grumpJS.com to find other useful grumps!