Sass Maps Next
These functions enable
merge operations on nested values in Sass'
map data type. They provide a
map-set function, while patching Sass' native
map-merge functions to work with nested values. The API of these functions corresponds to this informal proposal at the sass repo.
Some additional utility functions are also provided.
# in your project npm install --save @lunelson/sass-maps-next
// in your sass file, assuming you have 'node_modules' in Sass' search path @import '@lunelson/sass-maps-next/index'; // ...now you have access to nested map-get, map-merge and map-set