{"id":21906643,"url":"https://github.com/enlight/node-fs-promisified","last_synced_at":"2026-04-16T12:33:20.381Z","repository":{"id":41213086,"uuid":"48752081","full_name":"enlight/node-fs-promisified","owner":"enlight","description":"Promise based API wrapper for the NodeJS File System with TypeScript type definitions","archived":false,"fork":false,"pushed_at":"2016-01-22T06:49:02.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T07:43:19.670Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/enlight.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}},"created_at":"2015-12-29T14:51:07.000Z","updated_at":"2016-01-22T06:49:03.000Z","dependencies_parsed_at":"2022-09-12T17:32:12.738Z","dependency_job_id":null,"html_url":"https://github.com/enlight/node-fs-promisified","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlight%2Fnode-fs-promisified","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlight%2Fnode-fs-promisified/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlight%2Fnode-fs-promisified/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enlight%2Fnode-fs-promisified/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enlight","download_url":"https://codeload.github.com/enlight/node-fs-promisified/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244921653,"owners_count":20532299,"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-28T16:53:58.810Z","updated_at":"2026-04-16T12:33:15.342Z","avatar_url":"https://github.com/enlight.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fs-promisified\nPromise based API wrapper for the NodeJS File System with TypeScript type definitions.\n\n## Overview\nThere are multiple libraries that can promisify callback based NodeJS APIs, however, if you then\nwant to use the promisified API in TypeScript all the existing callback based type definitions for\nNodeJS will be completely and utterly useless. This project aims to solve that particular problem\nfor the File System API.\n\nNOTE: The current wrapper is incomplete, and I'll only be promisifying the bits of the API that\nI actually use. Feel free to submit PRs for anything that's missing.\n\n## Setup\n```\nnpm install https://github.com/enlight/node-fs-promisified --save\n```\n\n## Usage\n```typescript\nimport * as fsp from `fs-promisified`;\n\nfsp.readFile(someFilePath, 'utf8')\n.then(data =\u003e {\n  // process the data\n  ...\n});\n```\n\n##License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenlight%2Fnode-fs-promisified","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenlight%2Fnode-fs-promisified","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenlight%2Fnode-fs-promisified/lists"}