fika-helpers

1.0.1 • Public • Published

fika-helpers

Useful JavaScript helper methods.

Usage

Server

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]

Browser

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]

License

MIT

/fika-helpers/

    Package Sidebar

    Install

    npm i fika-helpers

    Weekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • dhruvio