lodash.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. // ====================================
  2. // Load minimal lodash
  3. // ====================================
  4. import cloneDeep from 'lodash/cloneDeep'
  5. import concat from 'lodash/concat'
  6. import debounce from 'lodash/debounce'
  7. import deburr from 'lodash/deburr'
  8. import delay from 'lodash/delay'
  9. import filter from 'lodash/filter'
  10. import find from 'lodash/find'
  11. import findKey from 'lodash/findKey'
  12. import forEach from 'lodash/forEach'
  13. import includes from 'lodash/includes'
  14. import isBoolean from 'lodash/isBoolean'
  15. import isEmpty from 'lodash/isEmpty'
  16. import isNil from 'lodash/isNil'
  17. import join from 'lodash/join'
  18. import kebabCase from 'lodash/kebabCase'
  19. import last from 'lodash/last'
  20. import map from 'lodash/map'
  21. import nth from 'lodash/nth'
  22. import pullAt from 'lodash/pullAt'
  23. import reject from 'lodash/reject'
  24. import slice from 'lodash/slice'
  25. import split from 'lodash/split'
  26. import startCase from 'lodash/startCase'
  27. import startsWith from 'lodash/startsWith'
  28. import toString from 'lodash/toString'
  29. import toUpper from 'lodash/toUpper'
  30. import trim from 'lodash/trim'
  31. // ====================================
  32. // Build lodash object
  33. // ====================================
  34. module.exports = {
  35. deburr,
  36. concat,
  37. cloneDeep,
  38. debounce,
  39. delay,
  40. filter,
  41. find,
  42. findKey,
  43. forEach,
  44. includes,
  45. isBoolean,
  46. isEmpty,
  47. isNil,
  48. join,
  49. kebabCase,
  50. last,
  51. map,
  52. nth,
  53. pullAt,
  54. reject,
  55. slice,
  56. split,
  57. startCase,
  58. startsWith,
  59. toString,
  60. toUpper,
  61. trim
  62. }