Skip to content

Utils ​

Vue Business Kit integrates Lodash utility functions, providing powerful data processing capabilities.

About Documentation ​

This project has organized, trimmed, and translated the official Lodash documentation into Chinese for easier reference and use.

Features ​

  • 🔧 Complete Lodash Integration - All Lodash utility functions available out of the box
  • 📝 Type Support - Full TypeScript type definitions included
  • 🚀 No Additional Installation - Lodash is built-in, no separate installation needed

Usage ​

ts
import { _ } from "vue-business-kit"

// Use Lodash functions directly
const result = _.chunk(["a", "b", "c", "d"], 2)
// => [['a', 'b'], ['c', 'd']]

Categories ​

Lodash functions are organized into the following categories:

  • Array - Array manipulation methods
  • Collection - Collection iteration and manipulation
  • Function - Function utilities
  • Lang - Language utilities
  • Math - Math operations
  • Number - Number utilities
  • Object - Object manipulation
  • String - String manipulation
  • Util - Utility functions

For detailed documentation of each function, please refer to the respective category pages.

Lodash Utility Functions ​

All Lodash utility functions are available for direct use. For detailed documentation, please refer to the Lodash Official Documentation.

Released under the MIT License.