1.0.10 • Published 4 years ago

rest-write-to-fs v1.0.10

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

Rest Write to FS

A node based cli to run a local server to write to text file in file system. A sample use case can be wrting data to file system from postman automation script.

How to install

npm install -g rest-write-to-fs

How to use

Usage: rest-write-to-fs [-options]
where options include:
    -p --port          PORT number (default is 8000)
    -f --folder        Path to the directory to store the files (default is the current working directory)

Endpoints

  • Append - POST /append?file=fileName Will append data sent in request body to fileName.
  • Write - POST /write?file=fileName Will create/override data sent in request body to fileName
1.0.9

4 years ago

1.0.10

4 years ago

1.0.8

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago