Set value of an object or array at a given path. A modularized version of Lodash's _.set function. This package offers precise control over setting nested properties within JavaScript objects and arrays efficiently without pulling in the entire Lodash library. It's ideal for projects where bundle size is a concern and only this specific functionality is needed. Provides robust path handling and creates intermediate objects/arrays as necessary.