I'd like to convert the big red area to a smaller one (blue) by shifting their borders parallelly by a certain distance to inner direction. This is not equivalent to scale as the result shape will look different.
Do you know an existing out-of-the-box function for contract? I tried to find one e.g. on turf but I did not manage to.