Useful JavaScript helper methods.
const _ = require("lodash");
const mixins = _.assign({}, require("fika-helpers/common"), require("fika-helpers/server"));
_.mixin(mixins);
// you can now use the common and server helpers, for example...
let a = [1,2,3,4,5];
_.sliceAt(a, 2); // [3,4,5]
const _ = require("lodash");
const mixins = _.assign({}, require("fika-helpers/common"), require("fika-helpers/browser"));
_.mixin(mixins);
// you can now use the common and browser helpers, for example...
let a = [1,2,3,4,5];
_.sliceAt(a, 2); // [3,4,5]
MIT