{"id":20699721,"url":"https://github.com/napi-rs/tar","last_synced_at":"2025-04-22T22:26:38.916Z","repository":{"id":210537117,"uuid":"726739041","full_name":"napi-rs/tar","owner":"napi-rs","description":"Node.js tar binding https://docs.rs/tar/latest/tar/","archived":false,"fork":false,"pushed_at":"2025-04-14T23:52:38.000Z","size":9405,"stargazers_count":10,"open_issues_count":3,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-04-15T00:33:14.528Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/napi-rs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-12-03T08:45:16.000Z","updated_at":"2025-04-14T23:52:40.000Z","dependencies_parsed_at":"2023-12-06T03:29:50.873Z","dependency_job_id":"b1ac6ae5-fa9b-40e3-ba49-c527112bfc43","html_url":"https://github.com/napi-rs/tar","commit_stats":{"total_commits":64,"total_committers":3,"mean_commits":"21.333333333333332","dds":0.390625,"last_synced_commit":"fd4c6c30924c4291f03355cc80504954e94c6746"},"previous_names":["napi-rs/tar"],"tags_count":6,"template":false,"template_full_name":"napi-rs/package-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/napi-rs%2Ftar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/napi-rs%2Ftar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/napi-rs%2Ftar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/napi-rs%2Ftar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/napi-rs","download_url":"https://codeload.github.com/napi-rs/tar/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250333239,"owners_count":21413354,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-17T00:31:38.426Z","updated_at":"2025-04-22T22:26:38.891Z","avatar_url":"https://github.com/napi-rs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `@napi-rs/tar`\n\n![https://github.com/napi-rs/tar/actions](https://github.com/napi-rs/tar/workflows/CI/badge.svg)\n[![install size](https://packagephobia.com/badge?p=@napi-rs/tar)](https://packagephobia.com/result?p=@napi-rs/tar)\n[![Downloads](https://img.shields.io/npm/dm/@napi-rs/tar.svg?sanitize=true)](https://npmcharts.com/compare/@napi-rs/tar?minimal=true)\n\n\u003e Node.js tar binding https://docs.rs/tar/latest/tar/\n\n## Usage\n\n```ts\nexport class Entries {\n  [Symbol.iterator](): Iterator\u003cEntry, void, void\u003e\n}\nexport class Entry {\n  path(): string | null\n}\nexport class Archive {\n  /** Create a new archive with the underlying path. */\n  constructor(path: string)\n  entries(): Entries\n  /**\n   * Unpacks the contents tarball into the specified `dst`.\n   *\n   * This function will iterate over the entire contents of this tarball,\n   * extracting each file in turn to the location specified by the entry's\n   * path name.\n   *\n   * This operation is relatively sensitive in that it will not write files\n   * outside of the path specified by `dst`. Files in the archive which have\n   * a '..' in their path are skipped during the unpacking process.\n   */\n  unpack(to: string): void\n}\n```\n\n## Install this test package\n\n```\nyarn add @napi-rs/tar\npnpm install @napi-rs/tar\nnpm install @napi-rs/tar\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnapi-rs%2Ftar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnapi-rs%2Ftar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnapi-rs%2Ftar/lists"}