Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
15 lines
477 B
Plaintext
15 lines
477 B
Plaintext
import { createClassUtils } from './class-utils'
|
|
import { createLruCache } from './lru-cache'
|
|
import { createSplitModifiers } from './modifier-utils'
|
|
import { Config } from './types'
|
|
|
|
export type ConfigUtils = ReturnType<typeof createConfigUtils>
|
|
|
|
export function createConfigUtils(config: Config) {
|
|
return {
|
|
cache: createLruCache<string, string>(config.cacheSize),
|
|
splitModifiers: createSplitModifiers(config),
|
|
...createClassUtils(config),
|
|
}
|
|
}
|