728x90 반응형 분류 전체보기186 Node.js Express 설치 Node.js Express 설치 1. 디렉토리를 생성하고 이미 있을 경우 해당 디렉토리로 이동합니다.$ mkdir myapp $ cd myapp 2. npm init을 하여 package.json을 생성합니다.$ npm init 3. app 디렉토리에 Express를 설치합니다. --save 옵션을 주었을 경우 package.json dependencies에 같이 저장이 됩니다.$ npm install express --save 4. 저장을 원하지 않을 경우는 --save 옵션을 사용하지 않으면 됩니다.$ npm install express [출처] http://expressjs.com/starter/installing.html 2015. 5. 11. Algospot DRAWRECT - Javascript(Node.js) Algospot DRAWRECT 제출답안작성 : Javascript (Node.js)1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253var input = [];var size = 0;var x= 0,x1= 0,x1cnt = 0 , y = 0,y1 = 0,y1cnt = 0, xcnt = 0, ycnt = 0;require('readline').createInterface(process.stdin, {}).on('line', function(line) { if(size == 0) { size= line.trim(); }else { if(x == 0){ x = line.split(" ".. 2015. 5. 11. 이전 1 ··· 44 45 46 47 다음 728x90 반응형