본문 바로가기
반응형

JavaScript7

[TypeScript] TypeScript JavaScript 변환하기 TypeScript 를 JavaScript 로 변환 해주는 사이트 https://www.typescriptlang.org/ JavaScript With Syntax For Types. TypeScript extends JavaScript by adding types to the language. TypeScript speeds up your development experience by catching errors and providing fixes before you even run your code. www.typescriptlang.org 사이트접속 - playground -코드작성 (왼쪽:타입스크립트, 오: 자바스크립트) 타입스크립트작성시, type을 꼭 적어주어야한다! Type Script 왜 .. 2022. 4. 6.
[Java Script] 자바스크립트 공식 사이트 1. ecma-international https://www.ecma-international.org/ Home - Ecma International Ecma International is an industry association dedicated to the standardization of information and communication systems Ecma is driven by industry members to meet their needs, providing a healthy competitive landscape based on differentiation of products a www.ecma-international.org 2. MDN (추천) 최신정보, 공부하기에 유용 htt.. 2022. 3. 31.
[node.js] npm ejs / npm mysql npm ejs : HTML 안에서 JavaScript 같이 쓸수 있게 해줌 https://www.npmjs.com/package/ejs ejs Embedded JavaScript templates. Latest version: 3.1.6, last published: a year ago. Start using ejs in your project by running `npm i ejs`. There are 10507 other projects in the npm registry using ejs. www.npmjs.com 구동결과 성공 npm mysql 모듈사용 : (마리아db) https://www.npmjs.com/package/mysql mysql A node.js driver for mysql. I.. 2022. 3. 28.
[node.js] express개발 code:'MODULE_NOT_FOUND' 에러시 뭐지 왜안되지 code:'MODULE_NOT_FOUND' 라는 에러가 떴다. 개당황ㅋㅋㅋ 웹서버구동이 연결안된다~~~~ 방법은 간단했다. package-lock.json 파일 삭제 node_modules 폴더 삭제 npm install 재실행 결론은,,,걍 삭제하고, 다시 설치하는 거였네ㅋㅋ 2022. 3. 28.
[node.js] npm express 활용 예제 npm express : 웹어플리케이션 프레임워크 프로그램으로 어플리케이션을 만들껀데, 그럴려면 웹서버가 필요하다. 이것을 실행해보자!!!ㅋㅋ 1. npm install express package-lock.json에 보면 길다ㅋㅋ express 만든 사람이 다른 모듈은 통해 만들었는데, 이것들 또한 require된것도 설치되어서 그렇단다. 2. 코드짜보자 https://expressjs.com/ Express - Node.js web application framework Fast, unopinionated, minimalist web framework for Node.js $ npm install express --save expressjs.com express 사이트를 들어가보면 guide에 친절히.. 2022. 3. 28.
[ node.js] 노드 사용해보기 (예제:이메일전송프로그램만들기) node 폴더명 -> node test.js npm install 설치모듈명 -> npm install nodemailer package-lock.json : 설치된 모든 정보를 볼수 있음 노드패키지(오픈소스) 사용 - [Nodemailer :: Nodemailer] 이메일전송프로그램 구글링시 ex) npm db기능, npm excel, npm e-mail ... 예시로 * [Nodemailer :: Nodemailer] 을 사용해 이메일전송프로그램을 만들어보겠다 https://nodemailer.com/about/ Nodemailer :: Nodemailer Nodemailer Nodemailer is a module for Node.js applications to allow easy as cake .. 2022. 3. 28.
728x90
반응형