Socket
Book a DemoInstallSign in
Socket

load-config-file

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

load-config-file - npm Package Compare versions

Comparing version

to
1.0.5

4

index.d.ts
export type ConfigCallBackFn = (error: Error, content: any) => void;
export type ConfigProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => string
export type ConfigAsyncProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => string|Promise<string>
export type ConfigProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => any
export type ConfigAsyncProcessFn = (content: string, aOptions: IConfigOptions, aCfgPath: string) => any|Promise<any>
export interface IConfigurator {

@@ -5,0 +5,0 @@ [name: string]: ConfigAsyncProcessFn

{
"name": "load-config-file",
"description": "Load the config file as a plain object. The config file format can be registered.",
"version": "1.0.4",
"version": "1.0.5",
"homepage": "https://github.com/snowyu/load-config-file.js",

@@ -6,0 +6,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.