create account

[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset) by wonsama

View this thread on: hive.blogpeakd.comecency.com
· @wonsama ·
$3.22
[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset)
![스팀잇표지_190409.008.jpeg](https://ipfs.busy.org/ipfs/QmU8mV3SCYAgDCKnm7JAuTq2pwFSs86WJbFxpYDzwSa6PW)


# 소개

> nodejs 로 개발을 할 때 제가 사용하는 기본 형식틀 입니다.

* 틀이 있으면 균일한 제품을 만들 때 유용합니다.
* 가독성을 늘려 줍니다.

---

# 맺음말

> 개발 할 때 자신만의 틀을 만들어서 작성해 보세요~ 스니핏과 (코드 자동완성) 같이 사용한다면 개발 생산성을 대폭적으로 상승 시킬 수 있습니다.

```javascript
////////////////////////////////////////////////////////////
//
// information (소개)
//

/*
   테스트용 파일 입니다.
*/
// 설정 정보를 읽어들인다 - 설정 정보는 초기 진입점에서 1회 수행하면 됨 
// require('dotenv').config();

////////////////////////////////////////////////////////////
//
// require (라이브러리 로딩)
//

// const a = require('a');				// 전체를 가져오고 싶은 경우
// const {fn_a, fn_b} = require('b');	// 특정 함수만 가져오고 싶은 경우

////////////////////////////////////////////////////////////
//
// const (상수정의)
//

// const WHAT_YOU_DEFINE = 'c1';	// 상수 정의 1

////////////////////////////////////////////////////////////
//
// let (변수정의)
//

////////////////////////////////////////////////////////////
//
// private function
//

////////////////////////////////////////////////////////////
//
// init
//

function init(){
	
}
init();
```
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 104 others
properties (23)
authorwonsama
permlinknodejs-coding-ruleset
categoryzzan
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["zzan","sct","sct-freeboard","sct-kr","steemleo","palnet","jjm","busy"],"users":[],"links":[],"image":["https://ipfs.busy.org/ipfs/QmU8mV3SCYAgDCKnm7JAuTq2pwFSs86WJbFxpYDzwSa6PW"]}
created2019-08-14 18:11:57
last_update2019-08-14 18:11:57
depth0
children3
last_payout2019-08-21 18:11:57
cashout_time1969-12-31 23:59:59
total_payout_value2.452 HBD
curator_payout_value0.769 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,102
author_reputation157,263,627,541,921
root_title"[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,527,752
net_rshares9,601,506,381,047
author_curate_reward""
vote details (168)
@hyokhyok ·
소개 다음이 바로 맺음말이군요 ㅋㅋㅋ
properties (22)
authorhyokhyok
permlinkpw9bnl
categoryzzan
json_metadata{"tags":["zzan","sct"],"app":"steemcoinpan/0.1"}
created2019-08-15 02:45:03
last_update2019-08-15 02:45:03
depth1
children1
last_payout2019-08-22 02:45:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length20
author_reputation162,767,578,041,222
root_title"[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,542,204
net_rshares0
@wonsama ·
TL;DR 입죠 ㅋㅋㅋ

Posted using [Partiko Android](https://partiko.app/referral/wonsama)
properties (22)
authorwonsama
permlinkwonsama-re-hyokhyok-pw9bnl-20190815t055915616z
categoryzzan
json_metadata{"app":"partiko","client":"android"}
created2019-08-15 05:59:15
last_update2019-08-15 05:59:15
depth2
children0
last_payout2019-08-22 05:59:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length82
author_reputation157,263,627,541,921
root_title"[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,546,521
net_rshares0
@virus707 ·
Thank you for your continued support towards JJM. For each 1000 JJM you are holding, you can get an additional 1% of upvote. 10,000JJM would give you a 11% daily voting from the 700K SP virus707 account.
properties (22)
authorvirus707
permlinkre-nodejs-coding-ruleset-1565814287
categoryzzan
json_metadata{"tags":["jjm"]}
created2019-08-14 20:24:45
last_update2019-08-14 20:24:45
depth1
children0
last_payout2019-08-21 20:24:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length203
author_reputation557,563,606,581,756
root_title"[nodejs] 개발할 때 사용하는 기본 형식 틀 (coding ruleset)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id89,532,547
net_rshares0