@gluestack-v2/framework-cli
Version:
Gluestack V2 Framework CLI
20 lines (19 loc) • 746 B
JavaScript
(function (factory) {
if (typeof module === "object" && typeof module.exports === "object") {
var v = factory(require, exports);
if (v !== undefined) module.exports = v;
}
else if (typeof define === "function" && define.amd) {
define(["require", "exports"], factory);
}
})(function (require, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const getPathAfterString = (inputString, matchString) => {
const functionsDirectory = matchString;
const startIndex = inputString.indexOf(functionsDirectory) +
functionsDirectory.length;
return inputString.slice(startIndex);
};
exports.default = getPathAfterString;
});