vfile-location (npm): vfile utility to convert between positional (line and column-based) and offset (range-based) locations
Keywords: vfile|vfile-util|util|utility|virtual|file|location|point|position|offset