MyGit

marvinhagemeister/smoldash

Fork: 7 Star: 109 (更新于 2024-12-18 09:11:27)

license: MIT

Language: TypeScript .

Smoldash, A tiny lodash alternative built for the modern web

最后发布版本: v0.11.0 ( 2021-07-24 14:44:07)

GitHub网址

Smoldash logo

Smoldash bundle size

Smoldash - Tiny 2kb Lodash alternative

Note: This library hasn't been battle tested yet. There may be bugs, although none have been reported so far.

Lodash is an amazing utility library for JavaScript, but with recent additions to the ECMAScript much of it can be replaced with vanilla features. This library aims to be a thinner alternative with modern browsers in mind.

Supported functions:

  • _.at
  • _.clone
  • _.cloneDeep
  • _.compact
  • _.every
  • _.findIndex
  • _.find
  • _.filter
  • _.flatten
  • _.flow
  • _.forEach
  • _.get
  • _.groupBy
  • _.has
  • _.head
  • _.indexOf
  • _.isEmpty
  • _.isEqual
  • _.kebabCase
  • _.keyBy
  • _.map - only maps arrays
  • _.merge
  • _.once
  • _.pickBy
  • _.range
  • _.sortBy
  • _.some
  • _.take
  • _.uniqBy
  • _.uniqueId

Installation

npm install smoldash
# or via yarn
yarn add smoldash

License

MIT, see the LICENSE file

最近版本更新:(数据更新于 2024-09-04 21:14:54)

2021-07-24 14:44:07 v0.11.0

2021-07-16 23:27:16 v0.10.0

2020-10-31 16:09:05 v0.9.0

2020-08-31 17:24:53 v0.8.1

2020-08-31 16:56:27 v0.8.0

2020-08-31 16:11:42 v0.7.0

2020-08-21 00:23:25 v0.6.0

2020-08-20 19:46:43 v0.5.0

主题(topics):

javascript, lodash, smoldash, tiny, utility

marvinhagemeister/smoldash同语言 TypeScript最近更新仓库

2024-12-22 15:05:26 elizaOS/eliza

2024-12-21 21:40:12 lobehub/lobe-chat

2024-12-21 12:01:51 siyuan-note/siyuan

2024-12-21 09:15:35 MetaCubeX/metacubexd

2024-12-21 04:50:26 mediar-ai/screenpipe

2024-12-20 19:36:48 vitejs/vite