Update .bashrc
[dotfiles/.git] / trim-newlines / index.js
1 'use strict';
2 module.exports = x => x.replace(/^[\r\n]+/, '').replace(/[\r\n]+$/, '');
3 module.exports.start = x => x.replace(/^[\r\n]+/, '');
4 module.exports.end = x => x.replace(/[\r\n]+$/, '');