tar-fs/ 000755 001751 000177 0000000000 14522451650 013741 5 ustar 00runner 000000 000000 14522451650 14522451650 tar-fs/LICENSE 000644 001751 000177 0000002165 14522451650 014752 0 ustar 00runner 000000 000000 14522451650 14522451650 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
tar-fs/README.md 000644 001751 000177 0000004352 14522451650 015225 0 ustar 00runner 000000 000000 14522473170 14522451650 # Installation
> `npm install --save @types/tar-fs`
# Summary
This package contains type definitions for tar-fs (https://github.com/mafintosh/tar-fs).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-fs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-fs/index.d.ts)
````ts
// Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts
///
import { ReadStream } from "fs";
import * as tarStream from "tar-stream";
export function pack(cwd: string, opts?: PackOptions): tarStream.Pack;
export function extract(cwd: string, opts?: ExtractOptions): tarStream.Extract;
export type Pack = tarStream.Pack;
export type Extract = tarStream.Extract;
export interface Options {
ignore?: ((name: string) => boolean) | undefined;
filter?: ((name: string) => boolean) | undefined;
map?: ((header: Headers) => Headers) | undefined;
mapStream?: ((fileStream: ReadStream, header: Headers) => ReadStream) | undefined;
dmode?: number | undefined;
fmode?: number | undefined;
readable?: boolean | undefined;
writable?: boolean | undefined;
strict?: boolean | undefined;
}
export interface PackOptions extends Options {
entries?: string[] | undefined;
dereference?: boolean | undefined;
finalize?: boolean | undefined;
finish?: ((pack: tarStream.Pack) => void) | undefined;
pack?: tarStream.Pack | undefined;
}
export interface ExtractOptions extends Options {
ignore?: ((name: string, header?: Headers) => boolean) | undefined;
filter?: ((name: string, header?: Headers) => boolean) | undefined;
strip?: number | undefined;
}
export interface Headers {
name: string;
mode: number;
mtime: Date;
size: number;
type: "file" | "directory" | "link" | "symlink";
uid: number;
gid: number;
}
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/tar-stream](https://npmjs.com/package/@types/tar-stream)
# Credits
These definitions were written by [Umoxfo](https://github.com/Umoxfo), and [Chris Wiggins](https://github.com/chriswiggins).
tar-fs/index.d.ts 000644 001751 000177 0000003002 14522451650 015635 0 ustar 00runner 000000 000000 14522451650 14522451650 // Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts
///
import { ReadStream } from "fs";
import * as tarStream from "tar-stream";
export function pack(cwd: string, opts?: PackOptions): tarStream.Pack;
export function extract(cwd: string, opts?: ExtractOptions): tarStream.Extract;
export type Pack = tarStream.Pack;
export type Extract = tarStream.Extract;
export interface Options {
ignore?: ((name: string) => boolean) | undefined;
filter?: ((name: string) => boolean) | undefined;
map?: ((header: Headers) => Headers) | undefined;
mapStream?: ((fileStream: ReadStream, header: Headers) => ReadStream) | undefined;
dmode?: number | undefined;
fmode?: number | undefined;
readable?: boolean | undefined;
writable?: boolean | undefined;
strict?: boolean | undefined;
}
export interface PackOptions extends Options {
entries?: string[] | undefined;
dereference?: boolean | undefined;
finalize?: boolean | undefined;
finish?: ((pack: tarStream.Pack) => void) | undefined;
pack?: tarStream.Pack | undefined;
}
export interface ExtractOptions extends Options {
ignore?: ((name: string, header?: Headers) => boolean) | undefined;
filter?: ((name: string, header?: Headers) => boolean) | undefined;
strip?: number | undefined;
}
export interface Headers {
name: string;
mode: number;
mtime: Date;
size: number;
type: "file" | "directory" | "link" | "symlink";
uid: number;
gid: number;
}
tar-fs/package.json 000644 001751 000177 0000001743 14522451650 016235 0 ustar 00runner 000000 000000 14522473170 14522451650 {
"name": "@types/tar-fs",
"version": "2.0.4",
"description": "TypeScript definitions for tar-fs",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tar-fs",
"license": "MIT",
"contributors": [
{
"name": "Umoxfo",
"githubUsername": "Umoxfo",
"url": "https://github.com/Umoxfo"
},
{
"name": "Chris Wiggins",
"githubUsername": "chriswiggins",
"url": "https://github.com/chriswiggins"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/tar-fs"
},
"scripts": {},
"dependencies": {
"@types/node": "*",
"@types/tar-stream": "*"
},
"typesPublisherContentHash": "a6de2bf419d8ca9568e69887e857b365cdb33375a00801df953b08f91b9d28c8",
"typeScriptVersion": "4.5"
}