본문 바로가기
frontend/javascript

[Hoon] Javascript - Underscore.js

by 플로거 2018. 12. 31.

Underscore.js

 

Underscore is a JavaScript library that provides a whole mess of useful functional programming helpers without extending any built-in objects. It’s the answer to the question: “If I sit down in front of a blank HTML page, and want to start being productive immediately, what do I need?” … and the tie to go along with jQuery's tux and

underscore.js 는 내장객체를 확장하지 않고, 사용하기 쉬운 함수 프로그래밍에 도움을 주는 자바스크립트 라이브러리 입니다.

 

https://github.com/jashkenas/underscore

 

Downloads

 

Development Version (1.9.1)

60kb, Uncompressed with Plentiful Comments

 

Production Version (1.9.1)

6.5kb, Minified and Gzipped  (Source Map)

 

Installation

  • Node.js npm install underscore
  • Meteor.js meteor add underscore
  • Require.js require(["underscore"], ...
  • Bower bower install underscore
  • Component component install jashkenas/underscore
 
유용한 함수들
 
uniq_.uniq(array, [isSorted], [iteratee]) Alias: unique 
findIndex_.findIndex(array, predicate, [context]) 
indexOf_.indexOf(array, value, [isSorted])

contains_.contains(list, value, [fromIndex]) Aliases: includeincludes 

isEmpty_.isEmpty(object) 

 

bit.ly/3fXOzon

 

인프런 인강 55%할인 쿠폰 - 커피한잔으로 Vue.js 핵심 강의!

인프런 인터넷 강의 55% 할인 쿠폰 - 커피한잔(5000원)으로 배우는 Vue.js 핵심 강의! 모바일 환경에서도 강의를 수강할 수 있도록 강의가 많이 개선되었습니다. 인프런 인터넷 강의 선착순 100명 55% �

plogger.tistory.com

bit.ly/2TtRHis

 

[Vue.js 입문] 초보 실전 웹앱 개발 - 1부 : vue 개념 ~ 핵심 문법 - 인프런

이 강의를 수강하시면 Vue.js 와 관련된 기본적인 개념부터 Real 웹앱 개발을 해 볼 수 있습니다. 이 강의는 1부 기본기 이며, 2부와 3부를 통해서 실제 Real 웹앱을 구현해 보도록 하겠습니다. 초급 ��

www.inflearn.com

 

댓글