You should probably look at the code of the lodash.get module, one of the first lines of code does require('lodash._stringtopath').
Try to open this module and count only the the lines with code. All in all lodash.get is more than 200 lines of code :)