UNPKG

@promptbook/remote-server

Version:

It's time for a paradigm shift. The future of software in plain English, French or Latin

10 lines (9 loc) 336 B
/// <reference types="node" /> import type fs from 'fs/promises'; /** * Container for all the tools needed to manipulate with filesystem */ export type FilesystemTools = Pick<typeof fs, 'access' | 'constants' | 'readFile' | 'writeFile' | 'stat' | 'readdir' | 'mkdir'>; /** * TODO: Implement destroyable pattern to free resources */