fxtr
v1.3.0
Published
Copy files to tmp and read/write them
Downloads
36
Readme
Fxtr
Copy files to tmp and read/write them.
Install
npm install --save-dev fxtrUsage
import { fixtures } from "fxtr"
let { path, read, write } = await fixtures(__dirname, "fixtures")
write("test.json", { hello: "world" })
read("test.json") // { hello: "world" }