function readBoilerplate
readBoilerplate(relativePath: string): Promise<string>

Reads a boilerplate file by relative path, using the SEA asset store when running as a Node.js binary.

Parameters

relativePath: string

Return Type

Promise<string>

Usage

import readBoilerplate from "lib/utils/read-boilerplate.ts";