Nodemailer - https://nodemailer.com/about/ Node.js 에서 메일을 쉽게 보내주게하는 모듈이다. 1. 메일 서버 이용- 편의상 구글 계정으로 메일 서버로 고고 - 보통 계정당 500 명에게 보낼 수 있다 했는데 200명 정도가 max인듯 - 메일 서버로 사용할 구글 계정을 생성 했다면 아래 주소로 들어가 보안수준이 낮은앱 > '사용함' 으로 설정해야 테스트 메일을 받아볼 수 있다. https://myaccount.google.com/lesssecureapps?pli=1 2. 관련 모듈 설치npm install nodemailer nodemailer-smtp-pool --save3. mailer.js var nodemailer = require('nodemailer');..
화면에 100%로 채우기 css.target{ max-width:none; max-height: 100%; min-width: 100%; min-height: 100%; position: absolute; left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); transform: translateX(-50%) translateY(-50%); /* 만약에 다른곳에서 상속되어 width/height가 설정된다면 아래처럼 덮어씌우자. width:auto; height:auto; */ } /*16:9의 비율로 와이드 화면이 된다면 아래처럼 미디어쿼리로 값변경*/ @media (min-aspect-ratio: 16/9){ .target{max-height: ..
request https://www.npmjs.com/package/request simple to use var request = require('request'); request('http://www.google.com', function (error, response, body) { // Print the error if one occurred console.log('error:', error); // Print the response status code if a response was received console.log('statusCode:', response && response.statusCode); // Print the HTML for the Google homepage. consol..
node-rest-client https://www.npmjs.com/package/node-rest-client Simple HTTP GET//node-rest-client호출 var Client = require('node-rest-client').Client; var client = new Client(); //1. 등록없이 바로 사용 client.get("http://remote.site/rest/xml/method", function (data, response) { // parsed response body as js object console.log(data); // raw response console.log(response); }); //2. 사용자 메소드 등록 후 호출하여 사용 clie..
flybook 공식 사이트 : https://flybook.js.org/ 음 마크다운 형식의 문서를 웹문서로 변환해 주는 것 같은데....아직 더 파악해야 할듯... 아주 고마운 분이시다~~~마크다운으로 이렇게 자동 문서화를 해주시니~ ㅎㅎ flybook 설치 ( nodejs 설치 안되어 있다면 설치해야 한다. )npm install flybook --save-devmarkdown 파일을 만들 폴더 생성 ( 아래는 예제 ) - my-app이란 프로젝트에 docs 폴더 생성( readme.md 는 초기 화면 index성격을 띄기 때문에 반드시 필요한 파일이다. )- advanced.md / basic.md 는 그냥 예제 파일이다. 이름은 사용자 맘대로~docs |____advanced.md |____bas..
- Total
- Today
- Yesterday
- 아이콘 폰트 만들기
- svg icon font
- icon font
- React.StrictMode
- cordova
- svg 폰트
- JsDoc
- Angular
- 내장요소
- 앵귤러
- react-router-dom
- CSS
- 태그
- Vue3
- vue-router
- interceptors
- Intrinsic
- Aptana
- 반복문
- svg모션
- 코도바
- IntrinsicElements
- RefreshToken
- anime.js
- 자바스크립트
- git
- git checkout -b
- for of 구문
- react
- 리프래시토큰
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |