@microsoft/arbutus.file-to-string
v1.0.4
Published
File To String takes a path to a file and generates a new file that exports it as a string. This utility is useful for documenting code examples that you might want to show the source code for. There are options for output in JavaScript and TypeScript.
Downloads
17
Readme
Utility: File To String
File to string takes a path to a file and generates a new file that exports it as a string this utility is useful for documenting code examples that you might want to show the source code for there are options for output in java script and type script.
Get Started
npm i "@microsoft/arbutus.file-to-string"
import { fileToString } from '@microsoft/arbutus.file-to-string';