Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

filesearchjy

yseo4MIT1.0.10

file search module

file, search, filesearch, filesearchjy

readme

var fileSearchJY = require("fileSearchJY");

fileSearchJY(rootDirectoryName, keywords, options);

rootDirectoryName : 검색시 최상위 디렉토리 폴더 문자열

keywords: 검색 문자배열

options: 옵션객체

duplicate -true : 중복허용 -false: 중복불가

nameEndWith 확장자 문자열

except 검색 제외파일

fromRoot ex) true => src/ffe/wwk/myfile.json false => original root

ex) fileSearchJY('src', ["ko","KR"], { ext:"json", duplicate:false, except: "koxxxx.json"} )

ex2) var localizationSourceFilesKO = [ ...fileSearchJY("src", ["ko"], {nameEndWith: ".json",duplicate: false, except: "koxxxx.json"}) ];

src를 root 로 ko 나 KR 문자열을 포함한 json 확장자 파일 검색 중복파일 불가능 koxxxx.json 파일 제외(만들어질 파일 제외)