Utilities for working immutably with vectors
Inspired by the fantastic date-fns library, I wanted a simple library that could let me work with n-dimensional vectors in an immutable fashion.
yarn add vector-fns
npm install vector-fns
You can import the entire library and destructure what you need, like so:
or you can pick what you want: