How to use the default function from underscore.string

Find comprehensive JavaScript underscore.string.default code examples handpicked from public code repositorys.

46
47
48
49
50
51
52
53
54
55
    return "https://github.com/curedao/curedao-web-android-chrome-ios-app-template.git";
}
exports.getRepoUrl = getRepoUrl;
function getRepoParts() {
    var gitUrl = getRepoUrl();
    gitUrl = underscore_string_1.default.strRight(gitUrl, "github.com/");
    gitUrl = gitUrl.replace(".git", "");
    var parts = gitUrl.split("/");
    if (!parts || parts.length > 2) {
        throw new Error("Could not parse repo name!");
fork icon7
star icon2
watch icon0