We might want to split library and application one day. For example, we can make bigdiff-code more general purpose and publish it into npm. If so, we can use this npm when we develop service for our server.
pros:
- We can use npm and use it for more public way. (Practice and good for showing what you do)
- Clear to maintain. It means we can make git repo of library for public and another for service implementation for private.
cons: