mirror of
https://github.com/thangisme/notes.git
synced 2024-11-01 00:27:24 -04:00
18 lines
232 B
Markdown
18 lines
232 B
Markdown
|
# write-file-stdout
|
||
|
|
||
|
Write to a file, falling back to stdout.
|
||
|
|
||
|
## Installation
|
||
|
|
||
|
$ npm install write-file-stdout
|
||
|
|
||
|
## API
|
||
|
|
||
|
### write ([file], contents)
|
||
|
|
||
|
Write `contents` to a `file`, falling back to stdout.
|
||
|
|
||
|
## License
|
||
|
|
||
|
MIT
|