@democrance/utils v0.20.1
@democrance/utils
is a set of popular utility functions.
List of all function you can find HERE
Table of Contents
Install
Install the package locally within your project folder using your preferred package manager:
pnpm install @democrance/utils
Usage
To use the utility functions provided by @democrance/utils, import them into your code and utilize them as needed.
Example:
import { utilityFunction1, utilityFunction2 } from '@democrance/utils'
// Use the imported utility functions
const result = utilityFunction1(argument)
// ...
Auto imports
If you are using the unplugin-auto-import plugin
, you can include the dist/autoImportUtilsPreset.json
file in the presets options.
This will enable automatic importing of the utility functions.
import dmcUtilsPreset from '@democrance/utils/preset'
// for Vite
export default defineConfig({
plugins: [
ViteAutoImportPlugin({
imports: [
dmcUtilsPreset,
// rest presets...
],
})
// rest plugins ...
]
})
Contributing
Contributions are welcome! If you have ideas for new features or have found a bug, please open an issue or make a pull request on make a pull request or open up an issue.
License
This project is licensed under the MIT © Daniil Chumachenko
10 months ago
7 months ago
7 months ago
8 months ago
8 months ago
9 months ago
8 months ago
9 months ago
7 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
8 months ago
10 months ago
10 months ago
8 months ago
8 months ago
9 months ago
10 months ago
11 months ago
11 months ago
11 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago