cached-path-relative/000755 001751 000177 0000000000 14522265601016514 5ustar00runner000000 000000 1452226560114522265601cached-path-relative/LICENSE000644 001751 000177 0000002165 14522265601017525 0ustar00runner000000 000000 1452226560114522265601 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE cached-path-relative/README.md000644 001751 000177 0000001763 14522265601017774 0ustar00runner000000 000000 1452230063214522265601# Installation > `npm install --save @types/cached-path-relative` # Summary This package contains type definitions for cached-path-relative (https://github.com/ashaffer/cached-path-relative). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cached-path-relative. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cached-path-relative/index.d.ts) ````ts /** * Memoize the results of the path.relative function. path.relative can be an expensive operation * if it happens a lot, and its results shouldn't change for the same arguments. * Use it just like your normal path.relative, but it's memoized. */ declare function cachedPathRelative(from: string, to: string): string; export = cachedPathRelative; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: none # Credits These definitions were written by [TeamworkGuy2](https://github.com/TeamworkGuy2). cached-path-relative/index.d.ts000644 001751 000177 0000000542 14522265601020416 0ustar00runner000000 000000 1452226560114522265601/** * Memoize the results of the path.relative function. path.relative can be an expensive operation * if it happens a lot, and its results shouldn't change for the same arguments. * Use it just like your normal path.relative, but it's memoized. */ declare function cachedPathRelative(from: string, to: string): string; export = cachedPathRelative; cached-path-relative/package.json000644 001751 000177 0000001516 14522265601020777 0ustar00runner000000 000000 1452230063214522265601{ "name": "@types/cached-path-relative", "version": "1.0.2", "description": "TypeScript definitions for cached-path-relative", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cached-path-relative", "license": "MIT", "contributors": [ { "name": "TeamworkGuy2", "githubUsername": "TeamworkGuy2", "url": "https://github.com/TeamworkGuy2" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/cached-path-relative" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "b7f9b64aa649eb915cb67dc2fa3ae7aab56ffac8bf6deac13d22707af6931638", "typeScriptVersion": "4.5" }