Is the react hook code so complicated that when it totals up to 17 lines of code[1], it needs to become a npm package? The code it self looks neat and clean - even more reason to just write your own hook.
1: https://github.com/akash-joshi/local-storage-hook/blob/7d593...