UNPKG

dependency-injection-cat

Version:

DI Cat is a truly clean DI-container, which allows you not to pollute your business logic with decorators from DI/IOC libraries!

9 lines (8 loc) 271 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPathRelative = void 0; var relativeRegexp = /^\.\.?($|[\\/])/; function isPathRelative(filePath) { return relativeRegexp.test(filePath); } exports.isPathRelative = isPathRelative;