esamattis/underscore.string

Merge underscore.string.fp

esamattis opened this issue · 3 comments

https://github.com/stoeffel/underscore.string.fp

Following the footsteps of Lodash v4.

Make this work

import {trim} from "underscore.string/fp";

var foo = trim("_")("_foo_");
expect(foo).toBe("foo");

Precompiled files for cherry-picking would be cool too

import trim from "underscore.string/fp/trim";

Maybe as a npm prepublish script.

Like in Lodash vNext

This would be awesome 👍

How should we handle variadic functions like f.e. camelize?

This would be great for us too. Variadic functions should work the same way as lodash, and take an array or be split into multiple methods.