diff options
Diffstat (limited to 'node_modules/trim-newlines/index.js')
-rw-r--r-- | node_modules/trim-newlines/index.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/node_modules/trim-newlines/index.js b/node_modules/trim-newlines/index.js deleted file mode 100644 index da31efd..0000000 --- a/node_modules/trim-newlines/index.js +++ /dev/null @@ -1,13 +0,0 @@ -'use strict'; - -var fn = module.exports = function (x) { - return fn.end(fn.start(x)); -}; - -fn.start = function (x) { - return x.replace(/^[\r\n]+/, ''); -}; - -fn.end = function (x) { - return x.replace(/[\r\n]+$/, ''); -}; |