{"id":16698001,"url":"https://github.com/arlac77/fs-resolver-fs","last_synced_at":"2025-04-10T02:54:02.860Z","repository":{"id":17207692,"uuid":"81355281","full_name":"arlac77/fs-resolver-fs","owner":"arlac77","description":"resolves file urls","archived":false,"fork":false,"pushed_at":"2025-03-17T13:03:47.000Z","size":1598,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T19:16:35.784Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"0bsd","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arlac77.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}},"created_at":"2017-02-08T17:16:55.000Z","updated_at":"2025-03-17T13:03:50.000Z","dependencies_parsed_at":"2023-12-21T14:16:14.203Z","dependency_job_id":"dc25aec6-a66e-47ce-bb57-584e63e65ffb","html_url":"https://github.com/arlac77/fs-resolver-fs","commit_stats":{"total_commits":1028,"total_committers":7,"mean_commits":"146.85714285714286","dds":0.0778210116731517,"last_synced_commit":"c0933d2cc29839bf43424c576157131ff9420150"},"previous_names":[],"tags_count":38,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Ffs-resolver-fs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Ffs-resolver-fs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Ffs-resolver-fs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arlac77%2Ffs-resolver-fs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arlac77","download_url":"https://codeload.github.com/arlac77/fs-resolver-fs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147401,"owners_count":21055541,"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-10-12T17:50:14.742Z","updated_at":"2025-04-10T02:54:02.836Z","avatar_url":"https://github.com/arlac77.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/fs-resolver-fs.svg)](https://www.npmjs.com/package/fs-resolver-fs)\n[![License](https://img.shields.io/badge/License-0BSD-blue.svg)](https://spdx.org/licenses/0BSD.html)\n[![bundlejs](https://deno.bundlejs.com/?q=fs-resolver-fs\\\u0026badge=detailed)](https://bundlejs.com/?q=fs-resolver-fs)\n[![downloads](http://img.shields.io/npm/dm/fs-resolver-fs.svg?style=flat-square)](https://npmjs.org/package/fs-resolver-fs)\n[![GitHub Issues](https://img.shields.io/github/issues/arlac77/fs-resolver-fs.svg?style=flat-square)](https://github.com/arlac77/fs-resolver-fs/issues)\n[![Build Status](https://img.shields.io/endpoint.svg?url=https%3A%2F%2Factions-badge.atrox.dev%2Farlac77%2Ffs-resolver-fs%2Fbadge\\\u0026style=flat)](https://actions-badge.atrox.dev/arlac77/fs-resolver-fs/goto)\n[![Styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)\n[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)\n[![Known Vulnerabilities](https://snyk.io/test/github/arlac77/fs-resolver-fs/badge.svg)](https://snyk.io/test/github/arlac77/fs-resolver-fs)\n[![Coverage Status](https://coveralls.io/repos/arlac77/fs-resolver-fs/badge.svg)](https://coveralls.io/github/arlac77/fs-resolver-fs)\n\n## fs-resolver-fs\n\nresolves file urls\n\n# API\n\n\u003c!-- Generated by documentation.js. Update this documentation by updating the source code. --\u003e\n\n### Table of Contents\n\n*   [FileScheme](#filescheme)\n    *   [get](#get)\n        *   [Parameters](#parameters)\n    *   [stat](#stat)\n        *   [Parameters](#parameters-1)\n    *   [put](#put)\n        *   [Parameters](#parameters-2)\n    *   [delete](#delete)\n        *   [Parameters](#parameters-3)\n    *   [list](#list)\n        *   [Parameters](#parameters-4)\n    *   [name](#name)\n\n## FileScheme\n\n**Extends URLScheme**\n\nURLScheme for file system access\n\n### get\n\nCreates a readable stream for the content of th file associated to a given file URL\n\n#### Parameters\n\n*   `context` **Context** execution context\n*   `url` **[URL](https://developer.mozilla.org/docs/Web/API/URL/URL)** of the a file\n*   `options` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** passed as options to fs.createReadStream()\n\nReturns **ReadableStream** of the file content\n\n### stat\n\nRead stat of a file assiciated to a given file URL\n\n#### Parameters\n\n*   `context` **Context** execution context\n*   `url` **[URL](https://developer.mozilla.org/docs/Web/API/URL/URL)** of the a file\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** unused for now\n\nReturns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [Error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error))** as delivered by fs.stat()\n\n### put\n\nPut content of a stream to a file associated to a given file URL\n\n#### Parameters\n\n*   `context`  {Context} execution context\n*   `url`  {URL} of the a file\n*   `stream`  {Stream} data source\n*   `options` **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String))** passed as options to fs.createWriteStream()\n\nReturns **([undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined) | [Error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error))** if url is not a file url\n\n### delete\n\nDeletes the file assiciated to a given file URL\n\n#### Parameters\n\n*   `context` **Context** execution context\n*   `url` **[URL](https://developer.mozilla.org/docs/Web/API/URL/URL)** of the a file\n\nReturns **([Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object) | [Error](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Error))** as delivered by fs.unlink()\n\n### list\n\nList content of a directory\n\n#### Parameters\n\n*   `context` **Context** execution context\n*   `url` **[URL](https://developer.mozilla.org/docs/Web/API/URL/URL)** of the a directory\n*   `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** unused for now\n\nReturns **Iterator**\u0026#x20;\n\n### name\n\nScheme name if 'file'\n\nReturns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** 'file'\n\n# install\n\nWith [npm](http://npmjs.org) do:\n\n```shell\nnpm install fs-resolver-fs\n```\n\n# license\n\nBSD-2-Clause\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Ffs-resolver-fs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farlac77%2Ffs-resolver-fs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farlac77%2Ffs-resolver-fs/lists"}