fxtr

1.3.0 • Public • Published

Fxtr

Copy files to tmp and read/write them.

Install

npm install --save-dev fxtr

Usage

import { fixtures } from "fxtr"

let { path, read, write } = await fixtures(__dirname, "fixtures")

write("test.json", { hello: "world" })
read("test.json") // { hello: "world" }

Package Sidebar

Install

npm i fxtr

Weekly Downloads

2

Version

1.3.0

License

MIT

Unpacked Size

8.86 kB

Total Files

6

Last publish

Collaborators

  • winton