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

config-doc

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-doc - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1-security

34

package.json
{
"name": "config-doc",
"version": "0.0.0",
"description": "Create and manage config documents",
"version": "0.0.1-security",
"description": "",
"main": "index.js",
"scripts": {
"test": "node test"
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"config",
"document"
],
"repository": {
"url": "git@github.com:azer/config-doc.git",
"type": "git"
"type": "git",
"url": "git+https://github.com/npm/security-holder.git"
},
"author": "azer",
"license": "BSD",
"devDependencies": {
"prova": "^2.1.2"
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/npm/security-holder/issues"
},
"dependencies": {
"debounce-fn": "^0.1.0",
"local-debug": "0.0.0",
"new-struct": "^0.1.1",
"read-json": "^1.0.0",
"try-call": "0.0.0",
"write-json": "^0.2.0"
}
}
"homepage": "https://github.com/npm/security-holder#readme"
}

@@ -1,34 +0,9 @@

## config-doc
# Security holding package
Create and manage config documents
This package name is not currently in use, but was formerly occupied
by a popular package. To avoid malicious use, npm is hanging on to
the package name, but loosely, and we'll probably give it to you if
you want it.
## Install
```bash
$ npm install config-doc
```
## Usage
```js
var NewConfig = require('config-doc');
var config = NewConfig('~/.settings')
config.get('user')
// => undefined
config.set('user', process.env.USER) // saves it to ~/.settings
config.get('user')
// => azer
```
Settings are saved as JSON into the specified file:
```js
var fs = require('fs')
fs.readFileSync('~/.settings').toString()
// => { "user": "azer" }
```
You may adopt this package by contacting support@npmjs.com and
requesting the name.
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