rimraf/LICENSE000666 000000 000000 0000002237 13635203021011374 0ustar00000000 000000 MIT License Copyright (c) Microsoft Corporation. All rights reserved. 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 rimraf/README.md000666 000000 000000 0000001426 13635203021011645 0ustar00000000 000000 # Installation > `npm install --save @types/rimraf` # Summary This package contains type definitions for rimraf (https://github.com/isaacs/rimraf). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rimraf. ### Additional Details * Last updated: Fri, 20 Mar 2020 18:06:09 GMT * Dependencies: [@types/glob](https://npmjs.com/package/@types/glob), [@types/node](https://npmjs.com/package/@types/node) * Global values: none # Credits These definitions were written by [Carlos Ballesteros Velasco](https://github.com/soywiz), [e-cloud](https://github.com/e-cloud), [Ruben Schmidmeister](https://github.com/bash), [Oganexon](https://github.com/oganexon), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). rimraf/index.d.ts000666 000000 000000 0000003344 13635203022012271 0ustar00000000 000000 // Type definitions for rimraf 3.0 // Project: https://github.com/isaacs/rimraf // Definitions by: Carlos Ballesteros Velasco // e-cloud // Ruben Schmidmeister // Oganexon // Piotr Błażejewicz // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// import glob = require('glob'); import fs = require('fs'); declare function rimraf(path: string, options: rimraf.Options, callback: (error: Error) => void): void; declare function rimraf(path: string, callback: (error: Error) => void): void; declare namespace rimraf { /** * It can remove stuff synchronously, too. * But that's not so good. Use the async API. * It's better. */ function sync(path: string, options?: Options): void; /** * see {@link https://github.com/isaacs/rimraf/blob/79b933fb362b2c51bedfa448be848e1d7ed32d7e/README.md#options} */ interface Options { maxBusyTries?: number; emfileWait?: number; /** @default false */ disableGlob?: boolean; glob?: glob.IOptions | false; unlink?: typeof fs.unlink; chmod?: typeof fs.chmod; stat?: typeof fs.stat; lstat?: typeof fs.lstat; rmdir?: typeof fs.rmdir; readdir?: typeof fs.readdir; unlinkSync?: typeof fs.unlinkSync; chmodSync?: typeof fs.chmodSync; statSync?: typeof fs.statSync; lstatSync?: typeof fs.lstatSync; rmdirSync?: typeof fs.rmdirSync; readdirSync?: typeof fs.readdirSync; } } export = rimraf; rimraf/package.json000666 000000 000000 0000002520 13635203021012650 0ustar00000000 000000 { "name": "@types/rimraf", "version": "3.0.0", "description": "TypeScript definitions for rimraf", "license": "MIT", "contributors": [ { "name": "Carlos Ballesteros Velasco", "url": "https://github.com/soywiz", "githubUsername": "soywiz" }, { "name": "e-cloud", "url": "https://github.com/e-cloud", "githubUsername": "e-cloud" }, { "name": "Ruben Schmidmeister", "url": "https://github.com/bash", "githubUsername": "bash" }, { "name": "Oganexon", "url": "https://github.com/oganexon", "githubUsername": "oganexon" }, { "name": "Piotr Błażejewicz", "url": "https://github.com/peterblazejewicz", "githubUsername": "peterblazejewicz" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/rimraf" }, "scripts": {}, "dependencies": { "@types/glob": "*", "@types/node": "*" }, "typesPublisherContentHash": "95d9030c25688dbd8c92efbfff673d88008ec8871b5fa3f55082961271ad4ca3", "typeScriptVersion": "2.8" }