A vector field in n dimensions is path independent if for every output there is a surface of an n dimensional shell on which the output is the same. I think this is true intuitively because the line integral through a thin shell doesn't depend on the angle of the line. However, I'm having a trouble deciding how to compute the actual integral.
An example of is the inverse square force law, whose output can be parametrised by a two dimensional spherical shell.