var line1 = turf.lineString([ [ 119.54801177978516, 35.41238784790039 ], [ 119.55059814453125, 35.40992736816406 ], [ 119.55061340332031, 35.40755844116211 ] ]); var line2 = turf.lineString([ [ 119.54632568359375, 35.4094352722168 ], [ 119.54887390136719, 35.41168212890625 ], [ 119.55057525634766, 35.413352966308594 ] ]); var overlapping = turf.lineOverlap(line1, line2); console.log(overlapping)