Lodash is a wonderful javascript library that makes it easier to work with arrays, strings, objects numbers etc.
Lodash’s modular methods are great for:
- Iterating arrays, objects, & strings
- Manipulating & testing values
- Creating composite functions
Installing lodash package using npm
npm i -g npm
example usage:
const _ = require("lodash"); const customListName = _.capitalize(req.params.customListName);