An unofficial implementation of the Unity Vector2 API as a standalone JS module. In case you just really wanted a Vector2 for doing data visualization or something. :)
npm install --save unityvector2
import Vector2 from 'unityvector2'
let a = new Vector2(0, 1)
let b = new Vector2(2, 0)
let c = a.Add(b) // (2, 1)
let d = a.Subtract(b) // (-2, 1)
let e = a.Multiply(2) // (0, 2)
let f = a.Divide(2) // (0, 0.5)