input-from-file
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-alpha.0 • Public • Published

input-from-file

create input that reads a file as JSON.

🤝 Code of Conduct: Kept 🧪 Coverage 📝 License: MIT 📦 npm version 💪 TypeScript: Strict

npm i input-from-file
import { inputFromFile } from "input-from-file";

await take(inputFromFile, { filePath: "data.txt" });

Options

inputFromFile takes a single argument, filePath, of type string.

See create-josh.vercel.app > Engine > Runtime > Inputs for more documentation on Inputs.

Readme

Keywords

none

Package Sidebar

Install

npm i input-from-file

Weekly Downloads

128

Version

0.1.0-alpha.0

License

MIT

Unpacked Size

7.28 kB

Total Files

9

Last publish

Collaborators

  • joshuakgoldberg