mirror of
https://github.com/toss/es-toolkit.git
synced 2024-11-24 11:45:26 +03:00
chore: Fix publish configs for Deno
This commit is contained in:
parent
2615cab8f5
commit
a9523e0407
8
jsr.json
8
jsr.json
@ -4,7 +4,9 @@
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"include": [
|
||||
"./src/**/*.ts"
|
||||
]
|
||||
"publish": {
|
||||
"include": [
|
||||
"./src/**/*.ts"
|
||||
]
|
||||
}
|
||||
}
|
10
src/index.ts
10
src/index.ts
@ -1,9 +1,17 @@
|
||||
/**
|
||||
* es-toolkit: A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
|
||||
* es-toolkit
|
||||
* ====================================
|
||||
* A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
|
||||
*
|
||||
* es-toolkit is a state-of-the-art, high-performance JavaScript utility library
|
||||
* with a small bundle size and strong type annotations.
|
||||
*
|
||||
* - es-toolkit offers a variety of everyday utility functions with modern implementations, such as [debounce](https://es-toolkit.slash.page/reference/function/debounce.html), [delay](https://es-toolkit.slash.page/reference/promise/delay.html), [chunk](https://es-toolkit.slash.page/reference/array/chunk.html), [sum](https://es-toolkit.slash.page/reference/math/sum.html), and [pick](https://es-toolkit.slash.page/reference/object/pick.html).
|
||||
* - Designed with performance in mind, es-toolkit achieves [2-3× better performance](https://es-toolkit.slash.page/performance.html) in modern JavaScript environments.
|
||||
* - es-toolkit supports tree shaking out of the box, and [reduces JavaScript code by up to 97%](https://es-toolkit.slash.page/bundle-size.html) compared to other libraries.
|
||||
* - es-toolkit includes built-in TypeScript support, with straightforward yet robust types. It also provides useful type guards such as [isNotNil](https://es-toolkit.slash.page/reference/predicate/isNotNil.html).
|
||||
* - es-toolkit is battle-tested with 100% test coverage, ensuring reliability and robustness.
|
||||
*
|
||||
* Here are some of the features es-toolkit offers:
|
||||
*
|
||||
* - **Array**: Utilities for array manipulation, such as [uniq](https://es-toolkit.slash.page/reference/array/uniq.html) and [difference](https://es-toolkit.slash.page/reference/array/difference.html).
|
||||
|
Loading…
Reference in New Issue
Block a user