mirror of
https://github.com/jung-geun/NFD2NFC.git
synced 2026-06-21 12:25:14 +09:00
tsconfig.json: module ESNext로 변경, renderer 제외. .eslintrc.cjs: varsIgnorePattern '^_' 추가. store.ts: notificationIntervalSecs 기본값(30) 추가. src/lib/index.ts: FilterOptions/ScanEntry를 올바른 소스 파일에서 import. scanner.ts: 미사용 fs import 제거. ipc.ts: 미사용 nanoid import 제거. cli/index.ts: 미사용 argv 변수 void 처리, showHelp() → 메시지 출력으로 대체. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
12 lines
520 B
TypeScript
12 lines
520 B
TypeScript
// 1.0.0 호환 shim — 단순 문자열 정규화
|
|
export const normalizeToNFC = (s: string): string => s.normalize('NFC');
|
|
export const normalizeToNFD = (s: string): string => s.normalize('NFD');
|
|
|
|
// 파일 시스템 API
|
|
export { normalizeEntry } from '../core/normalizer';
|
|
export { scan } from '../core/scanner';
|
|
export { shouldNormalize } from '../core/filter';
|
|
export type { FilterOptions } from '../core/filter';
|
|
export type { ScanEntry } from '../core/scanner';
|
|
export type { RenameResult } from '../core/types';
|