#1. Introduction of Lodash and Integration of Lodash with Angular 10
Read time : 5-6 minutes
What is Lodash and its benefits to use with Angular project ?
Lodash is a JavaScript library which provides utility functions for common programming tasks using the functional programming paradigm.- Lodash is inspired by Underscore.js
- Lodash helps programmers to write more concise and easier to maintain JavaScript code.
- Lodash contains tools to simplify programming with strings, numbers, arrays, functions and objects.
- By convention, Lodash module is mapped to the underscore character.
- Lodash is written in javascript
- Lodash Initial release date: 23 April 2012
Lodash can be broken down into several main areas :
- Utilities - for simplifying common programming tasks such as determining type as well as simplifying math operations.
- Function - simplifying binding, decorating, constraining, throttling, debouncing, currying, and changing the pointer.
- String - conversion functions for performing basic string operations, such as trimming, converting to uppercase, camel case, etc.
- Array - creating, splitting, combining, modifying, and compressing
- Collection - iterating, sorting, filtering, splitting, and building
- Object - accessing, extending, merging, defaults, and transforming
- Seq - chaining, wrapping, filtering, and testing.
How to install Lodash with angular 10
How to use in angular 10 ?
Conclusion :
Lodash has been successfully integrated with Angular 10 . Now we can use any method provided by Lodash along with Angular or Angular 10.
In out next post we will see how to use different methods of Lodash with Angular 10.
Find Source Code :
For more updates please follow us on :
Facebook : https://www.facebook.com/dorado2041
Instagram : https://www.instagram.com/dorado2041
Blogger : https://doradosolutions.blogspot.com
No comments: