The lodash methods invert and invertBy exported as a module for creating objects with inverted keys and values.
Loading evals
Install with Tessl CLI
npx tessl i tessl/npm-lodash-invert