npm install @vx/point```
npm install --save @vx/point
A simple class to represent an x, y coordinate.
`js
import { Point } from '@vx/point';
const point = new Point({ x: 2, y: 3 });
const { x, y } = point.value(); // Get the coords as an object
const [x, y] = point.toArray(); // or array
`
Returns an { x, y } object with the x and y coordinates.
Returns the coordinates as an array [x, y]`.