I have forked the node-red-node-pi-gpio module to port it to the Nvidia Jetson Nano. While I've made some extensive changes to the logic, it wouldn't have been possible if I had to start from scratch.
What is the proper/best practice method of crediting the original author? Is there such a field in the package.json file?
The first thing you need to do is to check the license that should be with the node. I was going to look at it, but I can't find node-red-node-rpi-gpio.
That is node-red-node-pi-gpio, not node-red-node-rpi-gpio.
In addition to @knolleary's comment I think you also have to include a copy of the original license and can't impose any restrictions on what that license says. Check the licence with the node and see what it says.
@Colin given node-red-node-rpi-gpio doesn't exist on npm and doesn't show up on a google search, I think we can probably assume its a typo and node-red-node-pi-gpio is the intended original module.
I need to change the author field to me since I wouldn't want questions going to Dave.
The license is Apache 2.0 which is pretty permissible so I don't think there's any issue there. I've been a Fedora packager for over 10 years and while I don't consider myself a license expert, I have been exposed to many (GPL, BSD, Apache, etc).
Adding something to the README is easy enough, I just wasn't sure if there was a best practice already established