replace(/ /g, '%20'); const markdownLink = `[${file.replace('.md', '')}](./${relativePath})`; markdown += ` - ${markdownLink}\n`; } return markdown; } export async function updateReadme(configPath: string) { const config = await loadConfig(configPath); const { baseUrl,...
$ npm i -g @baronote/init $ npm i --save @baronote/init $ baro init --help Usage: baro init <projectName> -d [database] -ss [sessionStore] -v [version] -t -i -rc 각종 옵션을 포함해 프로젝트를 구성하는 명령어 Arguments: projectName 프...
register('phoneNumber', { pattern: /[0-9]/g, }); // 또는 사용자 지정 에러 메시지와 함께 register('phoneNumber', { pattern: { value: /[0-9]/g, message: '전화번호는 숫자만 포함해야 합니다', }, });...
npm install --save-dev gulp-uglify Usage vargulp=require('gulp'); varuglify=require('gulp-uglify'); varpipeline=require('readable-stream').pipeline; gulp.task('compress',function(){ returnpipeline( gulp.src('lib/*.js'), uglify(), ...
$ npm i -g npm@7.6.1 AWS S3 설정 S3에 올린 파일에 웹브라우저로 접근하기 위해서는 버킷의 권한을 퍼블릭으로 열어야 한다. AWS S3 콘솔에서 "퍼블릭 엑세스 차단"을 모두 체크 하지 않...
Installation npm install -g @midagedev/commit-helper Configuration Before you use thecommit-helper, you need to set up your OpenAI API key. Use theconfigcommand to set your key: commit-helper config -k<your-openai-api-key> You can also set the language for the code review: ...
Install npm install --save-dev gulp-autoprefixer Usage importgulpfrom'gulp';importautoprefixerfrom'gulp-autoprefixer';exportdefault()=>(gulp.src('src/app.css').pipe(autoprefixer({cascade:false})).pipe(gulp.dest('dist'))); API options ...
// 1 ~ 10 사이에서 랜덤한 값이 선택됩니다. distribution, mean, standardDeviation 옵션을 사용할 수 있습니다.❗options:[1,10];// Random value is selected between 1 and 10. The distribution, mean, and standard deviation options are available....