기본 콘텐츠로 건너뛰기

라벨이 bluebird인 게시물 표시

[Node] Node 관련 패키지들 간략 정리. (갱신 중)

다른 작업을 진행하다가 정말로 오랜만에 다시 Node.js 관련 오픈 소스 분석 작업을 하는데 참조하고 있는 패키지들이 많기도 하다. 아는 것보다는 모르는 것이 더 많아서 뭐가 뭔지 하나도 모르겠다. 앞으로 작업을 하면서 좀 더 다양한 패키지들을 자세하게 알아야 하지만, 당장은 제목과 기능이라도 알아야 이해를 할 수 있을 듯 하다. ㅠㅠ Packages for NodeJS bluebird Full featured promise library with unmatched performance Examples 설치 npm install bluebird 활용법 var Promise = require("bluebird"); References http://bluebirdjs.com/docs/getting-started.html https://github.com/petkaantonov/bluebird bunyan Simple and fast JSON Logging Module for node.js services Examples 설치 $ npm install bunyan 활용법 var bunyan = require('bunyan'); var log = bunyan.createLogger({name: "myapp"}); log.info("hi"); References https://github.com/trentm/node-bunyan camelcase Convert a dash/dot/underscore/space separated string to camelCase: foo-bar -> fooBar Examples 설치 $ npm install --save camelcase 활용법 const camelCase = require('camelcase'); camelCase('foo-bar'); //=> 'fooBar'