Lodash – Overview

  • Post author:
  • Post category:Lodash
  • Post comments:2 Comments
Lodash - Overview

Lodash Overview is a popular javascript-based library which provides 200+ functions to facilitate web development. It provides helper functions like map, filter, invokes as well as function binding, javascript templating, deep equality checks, creating indexes and so on. Lodash can be used directly inside a browser and also with Node.js. Working with objects using JavaScript can be quite challenging, specifically if you have lots of manipulation to be done with them. Underscore comes with lots of features that ease your work with objects.

Audience

This tutorial is designed for software programmers who want to learn the basics of Lodash and its programming concepts in a simple and easy way. This tutorial will give you enough understanding of the various functionalities of Lodash with suitable examples.

Lodash Overview

Lodash is a popular javascript-based library which provides 200+ functions to facilitate web development. It provides helper functions like map, filter, invokes as well as function binding, javascript templating, deep equality checks, creating indexes and so on. Lodash can be used directly inside a browser and also with Node.js.

Working with objects using JavaScript can be quite challenging, specifically if you have lots of manipulation to be done with them. Lodash comes with lots of features that ease your work with objects.

Lodash is an open-source project and you can easily contribute to the library and add features in the form of plugins and make it available on GitHub and in Node.js.

Features

Let us understand in detail all the important features available with Lodash −

Collections

Lodash provides various functions for collections like each, map, reduce which are used to apply an operation on each item of a collection. It provides methods like groupBy, count By, max, min which processes collections and ease a lot of tasks.

Arrays

Lodash provides various functions for arrays like to iterate and process arrays like first, initial, lastIndexOf, intersection, difference, etc.

Functions

Lodash provides functions such as bind, delay, before, after, etc.

Objects

Lodash provides functions to manipulate objects, map objects, and compare objects. For example, keys, values, extends, extendsOwn, isEqual, isEmpty, etc.

Utilities

Lodash provides various utility methods like noConflict, random, iteratee, escape, etc.

Chaining

Lodash provides chaining methods as well like the chain, value.

In subsequent chapters, we’ll cover important functions of Lodash

Next Topic – Click Here

This Post Has 2 Comments

  1. Can I just say what a reduction to search out someone who really is aware of what theyre talking about on the internet. You positively know learn how to carry a problem to gentle and make it important. More folks have to learn this and understand this aspect of the story. I cant believe youre no more widespread because you positively have the gift.

Leave a Reply