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

@comocapital/config

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comocapital/config

Our shared application config loader

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-80%
Maintainers
2
Weekly downloads
 
Created
Source

@comocapital/config

Our shared application config loader. The main difference from plain cosmiconfig is support for default options.

The name of application config should be one of:

  • field comocapital in package.json
  • .comocapitalrc
  • .comocapitalrc.json
  • .comocapitalrc.yaml
  • .comocapitalrc.js
  • comocapital.config.js

Usage

const comoconfig = require('@comocapital/config');

const config = comoconfig.sync({ demo: false });

For async loading:

const comoconfig = require('@comocapital/config');

async function main() {
  const config = await comoconfig({ demo: false });
}

License

MIT, 2018 © Como Capital

Keywords

FAQs

Package last updated on 27 Aug 2018

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