You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

writeconf

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

writeconf

## installation `npm i -g writeconf`

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

writeconf:

installation

npm i -g writeconf

usage

writeconf --port 8888 --apiHost http://myapi.com

This will result in a config.json file:

{
  port: 8888,
  apiHost: 'http://myapi.com'
}

usage 2

When running the command again with changed arguments, it will extend the existing config.json file

writeconf --port 666

output:

{
  port: 666,
  apiHost: 'http://myapi.com'
}

FAQs

Package last updated on 03 Jul 2015

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