UNPKG

@softwareventures/maintain-project

Version:

Automatically create and maintain TypeScript projects with standard settings for Software Ventures Limited

8 lines 323 B
import { promises as fs } from "fs"; import { templatePath } from "./template.js"; export async function copyFromTemplate(templateId, path, ...pathSegments) { return fs .readFile(templatePath(templateId, path, ...pathSegments)) .then(data => ({ type: "file", data })); } //# sourceMappingURL=copy.js.map