New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

qiao-config

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qiao-config

json config to local file

  • 0.0.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-96.67%
Maintainers
1
Weekly downloads
 
Created
Source

qiao-config

json config to local file

donate

http://uikoo9.com/donate

api

c

'use strict';

var q = require('qiao-config');

// default path
var _c1 = q.c();
console.log(_c1);

// custom path
var _c2 = q.c('../');
console.log(_c2);

all

'use strict';

var q = require('qiao-config');

var _c  = q.c();
var s   = _c.all();
console.log(s); // { test: 'hello' }

clear

'use strict';

var q = require('qiao-config');

var _c = q.c();
_c.clear();
console.log(_c.all()); // {}

config

'use strict';

var q = require('qiao-config');

var _c = q.c();

// set
_c.config('test', 'hello');
console.log(_c.all()); // { test: 'hello' }

// get
var s = _c.config('test');
console.log(s); // hello

// del
_c.config('test', null);
console.log(_c.all()); // {}

version

0.0.3.20201105

  1. c --> config
  2. custom path

0.0.2.20200901

  1. del ok
  2. c ok
  3. md

0.0.1.20200828

  1. init project
  2. get ok
  3. set ok
  4. all ok
  5. clear ok

Keywords

FAQs

Package last updated on 05 Nov 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