Index
A
- aggregations
- about / Aggregations
- Underscore max and min / Underscore max and min
- annotated Underscore source code
- reference / The revealing module pattern
- array-related functions
- about / Other array-related functions
- _.unzip(*arrays) / Other array-related functions
- _.compact(array) / Other array-related functions
- _.flatten(array, [shallow]) / Other array-related functions
- _.object(list, [values]) / Other array-related functions
- _.indexOf(array, value, [isSorted]) / Other array-related functions
- _.lastIndexOf(array, value, [fromIndex]) / Other array-related functions
- _.findIndex(array, predicate, [context]) / Other array-related functions
- _.findLastIndex(array, predicate, [context]) / Other array-related functions
- _.sortedIndex(list, value, [iteratee], [context]) / Other array-related functions
- _.range([start], stop, [step]) / Other array-related functions
- Array object
- static methods / Array – new features
- instance methods / Array – new features
- arrays
- about / Arrays
- array start and end sequences, extracting / Extracting array start and end sequences
- union / Union, intersect, and related functions
- intersect / Union, intersect, and related functions
- arrow function
- assertion functions, for determining object types
- _.isElement(object) / Comparing objects and making assertions against objects
- _.isArray(object) / Comparing objects and making assertions against objects
- _.isObject(value) / Comparing objects and making assertions against objects
- _.isArguments(object) / Comparing objects and making assertions against objects
- _.isFunction(object) / Comparing objects and making assertions against objects
- _.isBoolean(object) / Comparing objects and making assertions against objects
- _.isDate(object) / Comparing objects and making assertions against objects
- _.isError(object) / Comparing objects and making assertions against objects
- assertion functions, for Number objects
- _.isNumber(object) / Comparing objects and making assertions against objects
- _.isFinite(object) / Comparing objects and making assertions against objects
- _.isNaN(object) / Comparing objects and making assertions against objects
- assertion functions, for object validation
- _.isEmpty(object) / Comparing objects and making assertions against objects
- _.isNull(object) / Comparing objects and making assertions against objects
- _.isUndefined(value) / Comparing objects and making assertions against objects
- assertion functions, for String objects
- _.isString(object) / Comparing objects and making assertions against objects
- _.isRegExp(object) / Comparing objects and making assertions against objects
- Atom
B
- Backbone
- behavior-driven development (BDD) / Testing JavaScript code with Jasmine
- bound function / Functional composition with bind, bindAll, and partial
- Browserify
- Browserify API
- Browserify CLI / Using CommonJS modules for packaging client code with Browserify
- build automation
- with Gulp / Build automation with Gulp
C
- chaining functionality
- features / An overview of lodash functionality
- chaining-related functions / An overview of lodash functionality
- lazy evaluation / An overview of lodash functionality
- deferred execution / An overview of lodash functionality
- Chocolatey package manager
- URL / Windows
- Cloud9 online IDE
- reference / Choosing a JavaScript editor
- code reuse, between client and server
- about / Reusing code based on Underscore between client and server
- CommonJS modules, for packaging client code with Browserify / Using CommonJS modules for packaging client code with Browserify
- CommonJS modules, testing in browser with Browserify / Testing CommonJS modules in the browser with Browserify
- Gulp, using with Browserify / Using Gulp with Browserify
- collection based functions
- about / Other collection-based functions
- _.toArray(list) / Other collection-based functions
- _.shuffle(list) / Other collection-based functions
- _.sample(list, [n]) / Other collection-based functions
- collections
- currying / An overview of Underscore-contrib functionality
D
- development workflow, Underscore
- setting up / Setting up a development workflow for exploring Underscore
- JavaScript development, with Node.js / Modern JavaScript development with Node.js
- JavaScript dependencies, managing with Bower / Managing JavaScript dependencies with Bower
- JavaScript editor, selecting / Choosing a JavaScript editor
E
- ECMAScript 5 (ES5) / Why Underscore
- ECMAScript 5.1 (ES5)
- about / ECMAScript 5.1 (ES5)
- ECMAScript 2015 (ES6)
- about / ECMAScript 2015 (ES6)
- Array object / Array – new features
- language features / Other notable new features
- using, with transpilers / Using ECMAScript 2015 (ES6) today with transpilers
- Babel, using in browser / Using Babel directly in the browser
- Babel CLI / An overview of Babel CLI
- Babel CLI, using for client-side code / Using Babel CLI for the client-side code
- Babel, using with Node.js / Using Babel with Node.js
- ECMAScript 2015 (ES6), by example
- about / ECMAScript 2015 (ES6) by example
- code testing / Testing ES6 code
- arrow function / Further ES6 examples – the arrow function
- function declaration improvements / Further ES6 examples – function declaration improvements
- ECMAScript 2015 (ES6) support
- adding, to Browserify / Adding ECMAScript 2015 (ES6) support to Browserify
- ECMAScript 2016 (ES7)
- about / ECMAScript 2015 (ES6)
- es5-shim
- reference / Why Underscore
- ES6 rest operator
- examples output
- enhancing, with Bootstrap / Enhancing examples output with Bootstrap
F
- filtering
- about / Searching and filtering, Filtering
- Underscore filter / Underscore filter
- Underscore where / Underscore where
- Underscore reject and partition / Underscore reject and partition
- Underscore every / Underscore every
- Fisher-Yates shuffle algorithm
- about / Other collection-based functions
- fluent interface / Functional programming with Underscore.js
- frontend design framework / Using Underscore in the browser
- functional programming (FP)
- about / Functional programming fundamentals
- principles / The functional programming paradigm
- with Underscore.js / Functional programming with Underscore.js
- functional programming paradigm
- functional programming style
- migrating to / Migrating to a functional programming style
- functions
- about / Functions
- _.bind(function, object, *arguments) / Functional composition with bind, bindAll, and partial
- _.bindAll(object, *methodNames) / Functional composition with bind, bindAll, and partial
- _.partial(function, *arguments) / Functional composition with bind, bindAll, and partial
- _.memoize(function, [hashFunction]) / Further functional composition with memoize, wrap, negate, and compose
- _.wrap(function, wrapper) / Further functional composition with memoize, wrap, negate, and compose
- _.negate(predicate) / Further functional composition with memoize, wrap, negate, and compose
- _.compose(*functions) / Further functional composition with memoize, wrap, negate, and compose
- controlling / Controlling when and how often functions are called
G
- Grunt
- Gulp
- using, for build automation / Build automation with Gulp
- about / Build automation with Gulp
- gulp-open API
- reference / Build automation with Gulp
- Gulp.js
H
- hoisting / Useful patterns and practices for JavaScript applications targeting ECMAScript 5
- Homebrew package manager
- HTML markup
- with Underscore templates / Better HTML markup with Underscore templates
I
- immediately-invoked function expression
- is _.union(*arrays) function
J
- Jasmine
- JavaScript code, testing with / Testing JavaScript code with Jasmine
- about / Testing JavaScript code with Jasmine, Jasmine introduction
- reference / Testing JavaScript code with Jasmine
- JavaScript code
- testing, with Jasmine / Testing JavaScript code with Jasmine
- JavaScript development, with Node.js
- JavaScript Model-View-Controller (MVC) / Better HTML markup with Underscore templates
- JavaScript patterns and practices
- about / Useful patterns and practices for JavaScript applications targeting ECMAScript 5
- immediately-invoked function expression / The immediately-invoked function expression
- revealing module pattern / The revealing module pattern
- JavaScript strict mode / The JavaScript strict mode
- JavaScript strict mode
- about / The JavaScript strict mode
- jsonb type
- about / The jsonb type
- jspm
K
- Karma
- key Underscore functions
- about / Key Underscore functions revisited – each, map, and reduce
- reflection techniques, applying / Applying reflection techniques
- this variable, manipulating / Manipulating the this variable
- map and reduce, using with object properties / Using map and reduce with object properties
L
- lazy evaluation / Functional programming with Underscore.js
- lodash functionality
- overview / An overview of lodash functionality
- common set of functions / An overview of lodash functionality
- array functionality / An overview of lodash functionality
- utility functions / An overview of lodash functionality
- area of functionality / An overview of lodash functionality
- chaining functionality / An overview of lodash functionality
- lodash library
- about / Using the lodash library
- URL / Using the lodash library
- using / Using the lodash library
- chaining functionality / An overview of lodash functionality
- project, migrating from Underscore / Migrating a project from Underscore to lodash
M
- matcher
- about / Jasmine introduction
- method chaining / The functional programming paradigm
- MongoDB
- about / Using Underscore with MongoDB
- installing / Installing and configuring MongoDB
- installing, on Windows / Installing MongoDB on Windows
- installing, on Ubuntu Linux / Installing MongoDB on Ubuntu Linux
- installing, on Mac OS X / Installing MongoDB on Mac OS X
- configuring / Configuring and running MongoDB
- running / Configuring and running MongoDB
- MongoDB Node.js driver
- reference / Accessing data using the MongoDB Node.js driver
- Mozilla Developer Network (MDN)
N
- Node.js
- Node.js installation
- on Windows / Windows
- on Mac OS X / Mac OS X
- on Linux / Linux
- verifying / Verifying Node.js installation
- Node.js streams
- reference / Build automation with Gulp
- Node.js Tools
- reference / Choosing a JavaScript editor
- npm module async
- reference / Asynchronous programming in Node.js
- npm package manager / Creating a npm package
- npm packages
O
- object-oriented programming paradigm
- about / The object-oriented programming paradigm
- inheritance, with object literals / Inheritance with object literals
- inheritance, with object constructors / Inheritance with object constructors
- Underscore, using with / Using Underscore with the object-oriented programming paradigm
- classes, using with original client data / Using classes with original client data
- constructor validation, with Underscore / Constructor validation with Underscore
- object-related functions
- about / Other object-related functions
- _.tap(object, interceptor) / Other object-related functions
- _.mapObject(object, iteratee, [context]) / Other object-related functions
- object constructor / Inheritance with object constructors
- object prototype / The object-oriented programming paradigm
- objects
- about / Objects
- _.keys(object) / Underscore keys
- _.values(object) / Underscore values and pairs
- _.pairs(object) / Underscore values and pairs
- _.invert(object) / Underscore invert and functions
- _.functions(object) / Underscore invert and functions
- _.pick(object, *keys) / Underscore pick, omit, and has
- _.omit(object, *keys) / Underscore pick, omit, and has
- _.extend(destination, *sources) / Underscore extend, clone, and defaults
- _.clone(object) / Underscore extend, clone, and defaults
- _.defaults(object, *defaults) / Underscore extend, clone, and defaults
- _.has(object, key) / Underscore has, property, propertyOf, and matcher
- _.property(key) / Underscore has, property, propertyOf, and matcher
- _.propertyOf(object) / Underscore has, property, propertyOf, and matcher
- _.matcher(attrs) / Underscore has, property, propertyOf, and matcher
- comparing / Comparing objects and making assertions against objects
- assertions, making against / Comparing objects and making assertions against objects
- OOP principles
- reference / The object-oriented programming paradigm
P
- partial function application / Functional composition with bind, bindAll, and partial
- polyfills / Inheritance with object literals
- PostgreSQL
- references / Using Underscore with PostgreSQL
- installing / Installing and configuring PostgreSQL
- configuring / Installing and configuring PostgreSQL
- installing, on Windows / Installing PostgreSQL on Windows
- installing, on Ubuntu Linux / Installing PostgreSQL on Ubuntu Linux
- installing, on Mac OS X / Installing PostgreSQL on Mac OS X
- PostgreSQL data types
- about / PostgreSQL data types
- SQL types / SQL types
- jsonb type / The jsonb type
- prototypal inheritance / The object-oriented programming paradigm
R
- read-eval-print loop (REPL) / Executing JavaScript with Node.js
- RequireJS
- URL / Using Babel with Node.js
- revealing module pattern
- about / The revealing module pattern
S
- S.O.L.I.D. principles
- reference / The object-oriented programming paradigm
- searching
- about / Searching and filtering, Searching
- Underscore find / Underscore find
- Underscore some / Underscore some
- Underscore findWhere / Underscore findWhere
- Underscore contains / Underscore contains
- shortcut fusion / An overview of lodash functionality
- single page application (SPA) / Why Underscore
- sparse arrays
- specs / Testing JavaScript code with Jasmine
- SQL types
- about / SQL types
- Sublime Text
- SUT-system under test / Adding tests using the default Jasmine infrastructure
T
- templateString parameter / Better HTML markup with Underscore templates
- tests
- adding, default Jasmine infrastructure used / Adding tests using the default Jasmine infrastructure
- transformations
- about / Aggregations and transformations, Transformations
- Underscore sortBy / Underscore sortBy
- Underscore groupBy / Underscore groupBy
- Underscore indexBy / Underscore indexBy
- Underscore countBy / Underscore countBy
U
- Underscore
- features / Why Underscore
- URL / Why Underscore
- ECMAScript 5 starter example / The ECMAScript 5 starter example
- find starter example / The Underscore find starter example
- countBy starter example / The Underscore countBy starter example
- using in browser / Using Underscore in the browser
- and JavaScript standards / Underscore and JavaScript standards
- Underscore, using on server with Node.js
- about / Using Underscore on the server with Node.js
- JavaScript, executing with Node.js / Executing JavaScript with Node.js
- Node.js modules, using / Using Node.js modules
- modules, locating / Locating modules
- npm package, creating / Creating a npm package
- JavaScript code, converting to Node.js modules / Converting JavaScript code to Node.js modules
- tests, running with Node.js / Running tests with Node.js
- Underscore, using with MongoDB
- about / Using Underscore with MongoDB
- MongoDB, installing / Installing and configuring MongoDB
- MongoDB, configuring / Configuring and running MongoDB
- initial data, creating / Creating initial data using the MongoDB client and Underscore
- asynchronous programming, in Node.js / Asynchronous programming in Node.js
- data, accessing with MongoDB Node.js driver / Accessing data using the MongoDB Node.js driver
- Underscore, using with PostgreSQL
- about / Using Underscore with PostgreSQL
- PostgreSQL, installing / Installing and configuring PostgreSQL
- psql, using with basic database commands / Using psql with basic database commands
- PostgreSQL data types / PostgreSQL data types
- PostgreSQL, using with plv8 / Using PostgreSQL with plv8
- data, generating with plv8 / Generating data using plv8 and Underscore
- Underscore-contrib library
- using / Using the Underscore-contrib library
- overview / An overview of Underscore-contrib functionality
- underscore.array.builders.js / An overview of Underscore-contrib functionality
- underscore.array.selectors.js / An overview of Underscore-contrib functionality
- underscore.collections.walk.js / An overview of Underscore-contrib functionality
- underscore.function.arity.js / An overview of Underscore-contrib functionality
- underscore.function.combinators.js / An overview of Underscore-contrib functionality
- underscore.function.iterators.js / An overview of Underscore-contrib functionality
- underscore.function.predicates.js / An overview of Underscore-contrib functionality
- underscore.object.builders.js / An overview of Underscore-contrib functionality
- underscore.object.selectors.js / An overview of Underscore-contrib functionality
- underscore.util.existential.js / An overview of Underscore-contrib functionality
- underscore.util.operators.js / An overview of Underscore-contrib functionality
- underscore.util.strings.js / An overview of Underscore-contrib functionality
- underscore.util.trampolines.js / An overview of Underscore-contrib functionality
- exploring, via examples / Exploring Underscore-contrib via examples
- Underscore contains
- about / Underscore contains
- Underscore countBy
- about / Underscore countBy
- Underscore find
- about / Underscore find
- Underscore findWhere
- about / Underscore findWhere
- Underscore functions
- about / Key Underscore functions
- Underscore each / Underscore each
- Underscore map and reduce / Underscore map and reduce
- Underscore groupBy
- about / Underscore groupBy
- Underscore indexBy
- about / Underscore indexBy
- Underscore max and min
- about / Underscore max and min
- Underscore some
- about / Underscore some
- Underscore sortBy
- about / Underscore sortBy
- utility functions
- about / Utility functions
- _.noConflict() / Utility functions
- _.identity(value) / Utility functions
- _.constant(value) / Utility functions
- _.noop() / Utility functions
- _.times(n, iteratee, [context]) / Utility functions
- _.random(min, max) / Utility functions
- _.mixin(object) / Utility functions
- _.iteratee(value, [context], [argCount]) / Utility functions
- _.uniqueId([prefix]) / Utility functions
- _.escape(string), _.unescape(string) / Utility functions
- _.result(object, property) / Utility functions
- _.now() / Utility functions
- _.template(templateString, [settings]) / Utility functions
W
- WebStorm IDE
- reference / Choosing a JavaScript editor