data-utils-suite
v1.2.6
Published
Easily manage and manipulate your data with [data-utils-suite]. This versatile toolkit provides essential functions for data handling, including multi-column search capabilities, flexible filtering options, efficient pagination methods, and more. Stay tun
Downloads
28
Readme
Data Toolkit
Data Toolkit is a versatile library for managing and manipulating data in JavaScript applications. It provides essential functions for performing various operations on datasets, including searching, filtering, pagination, and more.
Installation
You can install Data Toolkit via npm:
npm install data-utils-toolkit
## Usage
const dataManipulation = require('data-utils-suite');
// Example usage of filter.lookupFields
const filteredItems = dataManipulation.filter.lookupFields(searchTerm, items, columns);
// Example usage of filter.processConditions
const processedData = dataManipulation.filter.processConditions(data, conditionsArray);
// Example usage of filter.paginateResults
const paginatedData = dataManipulation.filter.paginateResults(data, page, limit);
// Example usage of fields.exclude
const excludedData = dataManipulation.fields.exclude(data, removeFieldsArray);
// Example usage of fields.include
const includedData = dataManipulation.fields.include(data, showFieldsArray);
Contributing
Contributions are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue on GitHub or submit a pull request.