Welcome to mirror list, hosted at ThFree Co, Russian Federation.

index.js « trim-newlines « node_modules « assets - github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a0abc6a780a0fa607ac08aeb383f0bfce7040dfa (plain)
1
2
3
4
'use strict';
module.exports = string => string.replace(/^[\r\n]+/, '').replace(/[\r\n]+$/, '');
module.exports.start = string => string.replace(/^[\r\n]+/, '');
module.exports.end = string => string.replace(/[\r\n]+$/, '');