mares-welder-utils

1.0.0 • Public • Published

mares-welder-utils

mares framework 구성시 필요한 필수 유틸들을 담고 있는 모듈입니다.

Installation

npm install --save mares-welder-utils

Example

const utils = require('mares-welder-utils')
//node_modules 폴더는 제외 한 후 rootPath에 존재하는 fileName을 갖고 있는 모든 파일의 경로를 찾아 배열로 리턴해준다.
let fiels = utils.findFile('rootPath', 'fileName', ['node_modules'])
 
// 입력한 폴더에서 입력한 리소스 이름을 알려준다.
let name = utils.getApiName('dirname', 'additionalUrl')

Package Sidebar

Install

npm i mares-welder-utils

Weekly Downloads

8

Version

1.0.0

License

ISC

Unpacked Size

5.01 kB

Total Files

9

Last publish

Collaborators

  • hwaranglee
  • sngsng
  • piorio0919
  • kspark