PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
strip-outer
'use strict'; var escapeStringRegexp = require('escape-string-regexp'); module.exports = function (str, sub) { if (typeof str !== 'string' || typeof sub !== 'string') { throw new TypeError(); } sub = escapeStringRegexp(sub); return str.replace(new RegExp('^' + sub + '|' + sub + '$', 'g'), ''); };
[+]
..
[-] readme.md
[edit]
[-] package.json
[edit]
[-] index.js
[edit]
[-] license
[edit]