An all-purpose out-of-the-box utility package library for Javascript Developers who are tired of always writing utility function codes again and again.
Use npm to install js-core-utils.
npm install js-core-utils --save
import { objectLoop } from 'js-core-utils';
objectLoop(
{
name: 'John Doe',
age: 24,
},
(data, index) => {
const { key, value } = data;
console.log(key, value);
}
);
// name John Doe
// age 24
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.