StrongLoop / IBM์— ์˜ํ•ด ์ œ๊ณต์ด ๋ฒˆ์—ญ.

์ด ๋ฌธ์„œ๋Š” ์˜๋ฌธํŒ ๋ฌธ์„œ์— ๋น„ํ•ด ๋” ์˜ค๋ž˜๋œ ๋ฒ„์ „์ผ ์ˆ˜๋„ ์žˆ์Šต๋‹ˆ๋‹ค. ์ตœ์‹  ์—…๋ฐ์ดํŠธ๋ฅผ ํ™•์ธํ•˜๋ ค๋ฉด ์˜๋ฌธํŒ ๋ฌธ์„œ๋ฅผ ์ฐธ์กฐํ•˜์‹ญ์‹œ์˜ค.

โœ–

Express ๋ฏธ๋“ค์›จ์–ด

๋ชฉ๋ก์— ์ ํžŒ Express ๋ฏธ๋“ค์›จ์–ด ๋ชจ๋“ˆ๋“ค์€ Expressjs ํŒ€์ด ์œ ์ง€๋ณด์ˆ˜ํ•ฉ๋‹ˆ๋‹ค.

๋ฏธ๋“ค์›จ์–ด ๋ชจ๋“ˆ ์„ค๋ช… ๋‚ด์žฅ ํ•จ์ˆ˜ (Express 3)
body-parser HTTP ์š”์ฒญ body๋ฅผ ํŒŒ์‹ฑํ•ฉ๋‹ˆ๋‹ค. body, co-body, ๊ทธ๋ฆฌ๊ณ  raw-body๋„ ์ฐธ๊ณ ํ•˜์„ธ์š”. express.bodyParser
compression HTTP ์š”์ฒญ๋“ค์„ ์••์ถ•ํ•ฉ๋‹ˆ๋‹ค. express.compress
connect-rid ๊ณ ์œ ํ•œ ์š”์ฒญ ID๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค. ์—†์Œ
cookie-parser ์ฟ ํ‚ค ํ—ค๋”๋ฅผ ํŒŒ์‹ฑํ•˜๊ณ  req.cookies์— ํ• ๋‹นํ•ฉ๋‹ˆ๋‹ค. cookies์™€ keygrip๋„ ์ฐธ๊ณ ํ•˜์„ธ์š”. express.cookieParser
cookie-session ์ฟ ํ‚ค ๊ธฐ๋ฐ˜์˜ ์„ธ์…˜์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค. express.cookieSession
cors ๋‹ค์–‘ํ•œ ์˜ต์…˜๋“ค์„ ์ด์šฉํ•˜์—ฌ Cross-origin resource sharing (CORS)๋ฅผ ํ™œ์„ฑํ™”ํ•ฉ๋‹ˆ๋‹ค. ์—†์Œ
errorhandler ๊ฐœ๋ฐœ ์ค‘์— ๋ฐœ์ƒํ•˜๋Š” ์—๋Ÿฌ๋ฅผ ํ•ธ๋“ค๋งํ•˜๊ณ  ๋””๋ฒ„๊น…ํ•ฉ๋‹ˆ๋‹ค. express.errorHandler
method-override ํ—ค๋”๋ฅผ ์ด์šฉํ•ด HTTP method๋ฅผ ๋ฎ์–ด์”๋‹ˆ๋‹ค. express.methodOverride
morgan HTTP ์š”์ฒญ ๋กœ๊ทธ๋ฅผ ๋‚จ๊น๋‹ˆ๋‹ค. express.logger
multer multi-part ํผ ๋ฐ์ดํ„ฐ๋ฅผ ์ฒ˜๋ฆฌํ•ฉ๋‹ˆ๋‹ค. express.bodyParser
response-time ์‘๋‹ต ์‹œ๊ฐ„์„ ๊ธฐ๋กํ•ฉ๋‹ˆ๋‹ค. express.responseTime
serve-favicon ํŒŒ๋น„์ฝ˜์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. express.favicon
serve-index ์ฃผ์–ด์ง„ ๊ฒฝ๋กœ์˜ ๋””๋ ‰ํ† ๋ฆฌ ๋ฆฌ์ŠคํŠธ๋ฅผ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. express.directory
serve-static ์ •์  ํŒŒ์ผ์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค. express.static
session ์„œ๋ฒ„ ๊ธฐ๋ฐ˜์˜ ์„ธ์…˜์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค (๊ฐœ๋ฐœ ์ „์šฉ). express.session
timeout HTTP ์š”์ฒญ ์ฒ˜๋ฆฌ๋ฅผ ์œ„ํ•ด timeout์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค. express.timeout
vhost ๊ฐ€์ƒ ๋„๋ฉ”์ธ์„ ๋งŒ๋“ญ๋‹ˆ๋‹ค. express.vhost

์ถ”๊ฐ€ ๋ฏธ๋“ค์›จ์–ด ๋ชจ๋“ˆ

๋ช‡๋ช‡ ์œ ๋ช…ํ•œ ์™ธ๋ถ€ ๋ฏธ๋“ค์›จ์–ด ๋ชจ๋“ˆ๋“ค์ž…๋‹ˆ๋‹ค.

Warning: This information refers to third-party sites, products, or modules that are not maintained by the Expressjs team. Listing here does not constitute an endorsement or recommendation from the Expressjs project team.

๋ฏธ๋“ค์›จ์–ดย ๋ชจ๋“ˆ ์„ค๋ช… ย 
connect-image-optimus ์ด๋ฏธ์ง€ ์ œ๊ณต์„ ์ตœ์ ํ™”ํž™๋‹ˆ๋‹ค. ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด ์ด๋ฏธ์ง€๋ฅผ .webp๋‚˜ .jxr๋กœ ๋ฐ”๊ฟ‰๋‹ˆ๋‹ค. ย 
express-debug ํ…œํ”Œ๋ฆฟ ๋ณ€์ˆ˜ (์ง€์—ญ), ํ˜„์žฌ ์„ธ์…˜, ๊ธฐํƒ€ ๋“ฑ๋“ฑ์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์ œ๊ณตํ•˜๋Š” ๊ฐœ๋ฐœ ๋„๊ตฌ์ž…๋‹ˆ๋‹ค. ย 
express-partial-response JSON ์‘๋‹ต์„ URL์˜ fields๋ฅผ ๋ฐ›์•„์„œ ํ•„ํ„ฐ๋งํ•ฉ๋‹ˆ๋‹ค. Google API์˜ Partial Response๋ฅผ ํ™œ์šฉํ•ฉ๋‹ˆ๋‹ค. ย 
express-simple-cdn ์ •์  ์š”์†Œ๋“ค์„ ์œ„ํ•ด CDN์„ ์‚ฌ์šฉํ•˜๋„๋ก ๋„์™€์ค๋‹ˆ๋‹ค. ๋‹ค์–‘ํ•œ ํ˜ธ์ŠคํŠธ๋ฅผ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค. ย 
express-slash ๊ตฌํ˜„๋œ ๋ฃจํ„ฐ์— ๋งŸ์ถฐ์„œ ์Šฌ๋ž˜์‰ฌ ์œ ๋ฌด๋ฅผ ๋งž์ถฐ์ค๋‹ˆ๋‹ค. ย 
express-stormpath ์‚ฌ์šฉ์ž ์ €์žฅ์†Œ, ์ธ์ฆ ํ™•์ธ, ์ธ์ฆ, SSO, ๊ทธ๋ฆฌ๊ณ  ๋ฐ์ดํ„ฐ ๋ณด์•ˆ์— ๊ด€๋ จ๋œ ๋ชจ๋“ˆ์ž…๋‹ˆ๋‹ค. (Okta๋กœ ํ•ฉ์ณ์กŒ์Šต๋‹ˆ๋‹ค) ย 
express-uncapitalize ๋Œ€๋ฌธ์ž๋ฅผ ํฌํ•จํ•˜๋Š” HTTP ์š”์ฒญ๋“ค์„ ํ‘œ์ค€ ์†Œ๋ฌธ์ž ํผ์œผ๋กœ ๋ฆฌ๋‹ค์ด๋ ‰ํŠธ์‹œํ‚ต๋‹ˆ๋‹ค. containing uppercase to a canonical lowercase form. ย 
helmet ๋‹ค์–‘ํ•œ HTTP ํ—ค๋”๋ฅผ ์„ค์ •ํ•ด ์•ฑ์ด ์•ˆ์ „ํ•˜๊ฒŒ ๋„์™€์ค๋‹ˆ๋‹ค. ย 
join-io ์š”์ฒญ ํšŸ์ˆ˜๋ฅผ ์ค„์ด๊ธฐ ์œ„ํ•ด ํŒŒ์ผ๋“ค์„ ๋ฌถ์–ด์ค๋‹ˆ๋‹ค. ย 
passport OAuth, OpenID ๊ฐ™์€ ๋ฐฉ๋ฒ•๋“ค์„ ์‚ฌ์šฉํ•˜๋Š” ์ธ์ฆ ์ฒด๊ณ„์ž…๋‹ˆ๋‹ค. ์ž์„ธํ•œ ์ •๋ณด๋Š” http://passportjs.org/์—์„œ ํ™•์ธํ•˜์„ธ์š”. ย 
static-expiry ์ •์  ์—์…‹์„ ์œ„ํ•ด ํ—ค๋”๋ฅผ ์บ์‹ฑํ•˜๊ฑฐ๋‚˜ URL์„ ๊ณ ์œ ํ™”ํ•ฉ๋‹ˆ๋‹ค. ย 
view-helpers ๋ทฐ ์—”์ง„๋“ค์„ ์œ„ํ•œ ์ผ๋ฐ˜์ ์ธ ๋„์›€์„ ์ œ๊ณตํ•ฉ๋‹ˆ๋‹ค.
sriracha-admin ๋™์ ์œผ๋กœ Mongoose์˜ ๊ด€๋ฆฌ ์‚ฌ์ดํŠธ๋ฅผ ๋งŒ๋“ญ๋‹ˆ๋‹ค. ย 

http-framework์—์„œ ๋” ๋งŽ์€ ๋ชจ๋“ˆ๋“ค์„ ์ฐพ์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.