1.0.10 • Published 3 years ago

rest-write-to-fs v1.0.10

Weekly downloads
2
License
ISC
Repository
github
Last release
3 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

3 years ago

1.0.10

3 years ago

1.0.8

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago