nuxt-lodash
Advanced tools
Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "nuxt-lodash", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Lodash auto-import for Nuxt.js", | ||
@@ -30,2 +30,2 @@ "keywords": [ | ||
} | ||
} | ||
} |
@@ -1,2 +0,2 @@ | ||
<h1>Nuxt 3 - lodash</h1> | ||
<h1>Nuxt 3 - Lodash</h1> | ||
@@ -11,4 +11,4 @@ <p> | ||
<h4><a href="https://lodash.com/">Lodash</a> auto-import module for <a href="https://nuxtjs.org/">Nuxt3</a>, supports custom prefix, list of exludes and list of aliases<h4> | ||
[Lodash](https://lodash.com) auto-import module for [Nuxt 3](https://nuxtjs.org). | ||
## 📦 Install | ||
@@ -33,4 +33,4 @@ | ||
alias: [ | ||
["camelCase", "stringToCamelCase"], // will result it useStringToCamelCase | ||
["kebabCase", "stringToKebabCase"], // will result it useStringToKebabCase | ||
["camelCase", "stringToCamelCase"], // => useStringToCamelCase | ||
["kebabCase", "stringToKebabCase"], // => useStringToKebabCase | ||
], | ||
@@ -45,7 +45,7 @@ }, | ||
| Name | Default | Description | | ||
| --------- | ------- | --------------------------------------------------------- | | ||
| `prefix` | `false` | string to prepend before each function (false to disable) | | ||
| `exclude` | `[]` | list of functions to exlude from auto-imports | | ||
| `alias` | `[]` | list of aliases to rename specific functions | | ||
| Name | Default | Description | | ||
| --------- | ------- | -------------------------------------------------------------------------------- | | ||
| `prefix` | `false` | String to prepend before each Lodash function (false to disable) | | ||
| `exclude` | `[]` | Array of Lodash functions to exlude from auto-imports | | ||
| `alias` | `[]` | Array of array pairs to rename specific Lodash functions (doesn't affect prefix) | | ||
@@ -58,3 +58,3 @@ ## 💻 Example | ||
</template> | ||
<script setup lang="ts"> | ||
<script setup> | ||
const text = useToUpper("it works!"); | ||
@@ -66,2 +66,2 @@ </script> | ||
[MIT License](https://github.com/cipami/nuxt-lodash/blob/master/LICENSE) © 2021-PRESENT [Michal Čípa](https://github.com/cipami) | ||
[MIT License](https://github.com/cipami/nuxt-lodash/blob/master/LICENSE) © 2021 - [Michal Čípa](https://github.com/cipami) |
@@ -0,0 +0,0 @@ declare type NuxtLodashOptions = { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5565
6