Removes trailing spaces, adds Makefile and main property into package.json to be able to require this module programmatically