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

cz

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cz - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "cz",
"version": "1.0.0",
"version": "1.1.0",
"description": "A simple config utility for nodejs",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -23,5 +23,4 @@ # cz

// Below are two ways of getting objects, the bottom one is the prefered way as it joins the retrieved values for you
console.log('db:host+db:username+db:password+db:port', 'mongodb://' + config.get('db:username') + ':' + config.get('db:password') + '@' + config.get('db:host') + ':' + config.get('db:port'));
console.log('db:host+db:username+db:password+db:port', 'mongodb://' + config.joinGets(['db:username', 'db:password', 'db:host', 'db:port'], [':', '@', ':']));
console.log('db:host+db:username+db:password+db:port', 'mongodb://' + config.get('db:username') + ':' + config.get('db:password') + '@' + config.get('db:host') + ':' + config.get('db:port') + '/' + config.get('db:collection'));
console.log('db:host+db:username+db:password+db:port', 'mongodb://' + config.joinGets(['db:username', 'db:password', 'db:host', 'db:port', 'db:collection'], [':', '@', ':', '/']));
````
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