explore-config v3.1.7
Getting Started
npm install explore-config
Usage
exploreConfig(name: string, options: ExploreConfigOptions)
import exploreConfig from 'explore-config'
/**
* 1. explore -> techor.config.js
* 2. explore -> techor.config.ts
* 3. explore -> techor.config.cjs
* 4. explore -> techor.config.cts
* 5. explore -> techor.config.mjs
* 6. explore -> techor.config.mts
* */
const config = exploreConfig('techor.config')
console.log(config)
// -> {...}
export interface ExploreConfigOptions {
extensions?: ('js' | 'ts' | 'cjs' | 'cts' | 'mjs' | 'mts')[]
resolvedKeys?: string[]
cwd?: string
found?: (basename: string, configPath: string) => void
}
3 days ago
6 days ago
13 days ago
25 days ago
26 days ago
25 days ago
27 days ago
27 days ago
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago