Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rest-write-to-fs

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rest-write-to-fs

write to fs

  • 1.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

FAQs

Package last updated on 11 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc