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

@terra-money/houston-config

Package Overview
Dependencies
Maintainers
5
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@terra-money/houston-config

Utility for interacting with houston-config.js files

  • 0.1.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
decreased by-25%
Maintainers
5
Weekly downloads
 
Created
Source

@terra-money/houston-config

Utility for interacting with houston-config.js files

Usage

import HoustonConfig from "@terra-money/houston-config";
Instantiate default HoustonConfig object
const newConfig = HoustonConfig.default();
Instantiate custom HoustonConfig object
const customConfig = new HoustonConfig(
  "/houstonDirPath",
  "/currentWorkingDirPath",
  networkObj
);
Config.detect()
// find config file & return new HoustonConfig object with config file settings (cwd)
const HoustonConfig = HoustonConfig.detect();

// find config file & return new HoustonConfig object from custom working dir
const HoustonConfig = HoustonConfig.detect({ workingDirectory: "./some/Path" });

// find & return new HoustonConfig object from custom named config
const customHoustonConfig = HoustonConfig.detect({}, "./customConfig.js");

Keywords

FAQs

Package last updated on 12 Oct 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