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

@tractor/config-loader

Package Overview
Dependencies
Maintainers
7
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tractor/config-loader

Config loader for tractor

  • 1.9.4-tractor-to-playwright.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@tractor/config-loader

A configuration loader utility for tractor.

npm version

API

loadConfig (cwd: string, configPath?: string): TractorConfig

Load a tractor configuration file from a given directory and path (defaults to ./tractor.conf.js), before falling back to the default configuration.

import { loadConfig } from '@tractor/config-loader';

const config = loadConfig(process.cwd(), './path/to/tractor.conf.js');

getConfig (): TractorConfig

Retrieves the current config for the running Tractor instance. loadConfig() must be called befere calling getConfig().

import { getConfig } from '@tractor/config-loader';

const config = getConfig();

FAQs

Package last updated on 10 Aug 2021

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