replace-ext/000755 001751 000177 0000000000 14522451650014756 5ustar00runner000000 000000 1452245165014522451650replace-ext/LICENSE000644 001751 000177 0000002165 14522451650015767 0ustar00runner000000 000000 1452245165014522451650 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 replace-ext/README.md000644 001751 000177 0000001665 14522451650016244 0ustar00runner000000 000000 1452245333214522451650# Installation > `npm install --save @types/replace-ext` # Summary This package contains type definitions for replace-ext (https://github.com/wearefractal/replace-ext). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replace-ext. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replace-ext/index.d.ts) ````ts /** * Replaces the extension from path with extension and returns the updated path string. * * Does not replace the extension if path is not a string or is empty. */ declare function replaceExt(path: string, extension: string): string; export = replaceExt; ```` ### Additional Details * Last updated: Tue, 07 Nov 2023 15:11:36 GMT * Dependencies: none # Credits These definitions were written by [Deividas Bakanas](https://github.com/DeividasBakanas), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). replace-ext/index.d.ts000644 001751 000177 0000000406 14522451650016657 0ustar00runner000000 000000 1452245165014522451650/** * Replaces the extension from path with extension and returns the updated path string. * * Does not replace the extension if path is not a string or is empty. */ declare function replaceExt(path: string, extension: string): string; export = replaceExt; replace-ext/package.json000644 001751 000177 0000001737 14522451650017253 0ustar00runner000000 000000 1452245333214522451650{ "name": "@types/replace-ext", "version": "2.0.2", "description": "TypeScript definitions for replace-ext", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/replace-ext", "license": "MIT", "contributors": [ { "name": "Deividas Bakanas", "githubUsername": "DeividasBakanas", "url": "https://github.com/DeividasBakanas" }, { "name": "Piotr Błażejewicz", "githubUsername": "peterblazejewicz", "url": "https://github.com/peterblazejewicz" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/replace-ext" }, "scripts": {}, "dependencies": {}, "typesPublisherContentHash": "e57bd711c574598e65e5693f3061e8c55762dc9e19ab4c46789ebcd4080d69e7", "typeScriptVersion": "4.5" }