{"_id":"@chettapong/nuxt-lodash","name":"@chettapong/nuxt-lodash","dist-tags":{"latest":"2.5.4"},"versions":{"2.5.4":{"version":"2.5.4","name":"@chettapong/nuxt-lodash","packageManager":"pnpm@8.9.2","description":"Lodash for Nuxt","keywords":["nuxt","nuxt-module","lodash","lodash-es"],"repository":{"type":"git","url":"git+https://github.com/chettapong/nuxt-lodash.git"},"author":{"name":"Michal Čípa","email":"michal.cipa@softlin.cz"},"license":"MIT","type":"module","exports":{".":{"import":"./dist/module.mjs"}},"main":"./dist/module.mjs","scripts":{"prepack":"nuxt-module-build --stub && nuxi prepare playground && nuxt-module-build","play":"nuxi dev playground","play:build":"nuxi build playground","play:prepare":"nuxt-module-build --stub && nuxi prepare playground","semantic-release":"semantic-release"},"dependencies":{"@nuxt/kit":"^3.8.0","@types/lodash-es":"^4.17.10","lodash-es":"^4.17.21"},"devDependencies":{"@nuxt/module-builder":"^1.0.2","@nuxtjs/eslint-config-typescript":"latest","@semantic-release/git":"^10.0.1","conventional-changelog-conventionalcommits":"^5.0.0","eslint":"latest","nuxt":"^3.8.0","semantic-release":"^20.1.3"},"_id":"@chettapong/nuxt-lodash@2.5.4","gitHead":"5595c55dbdb35089d32c46f58721716f0e64e637","bugs":{"url":"https://github.com/chettapong/nuxt-lodash/issues"},"homepage":"https://github.com/chettapong/nuxt-lodash#readme","_nodeVersion":"18.20.8","_npmVersion":"10.8.2","dist":{"integrity":"sha512-zxfJU8weBdLTu8So9hyIBfsFtf+gBFDiK7X74Dw/3F7sgjKkOQ8PuUXELsasOIjSXwkDxicZksBcca0JOO/+Cw==","shasum":"56877ea96a87e3b99af0533e5d95fe34bb4a4d0b","tarball":"https://registry.npmjs.org/@chettapong/nuxt-lodash/-/nuxt-lodash-2.5.4.tgz","fileCount":9,"unpackedSize":7824,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAcwCjVMMJq+O29wp6YxGKlzvyr9uvlBnsv5YIkGdQ9uAiEAthF4HoAO4MRsPf86TOAuisyp49CW+lb8w5vzj9EqDnE="}]},"_npmUser":{"name":"chettapong","email":"chettapong.work@gmail.com"},"directories":{},"maintainers":[{"name":"chettapong","email":"chettapong.work@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nuxt-lodash_2.5.4_1753557357659_0.2952509054762211"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-26T19:15:57.540Z","2.5.4":"2025-07-26T19:15:57.868Z","modified":"2025-07-26T19:15:58.189Z"},"maintainers":[{"name":"chettapong","email":"chettapong.work@gmail.com"}],"description":"Lodash for Nuxt","homepage":"https://github.com/chettapong/nuxt-lodash#readme","keywords":["nuxt","nuxt-module","lodash","lodash-es"],"repository":{"type":"git","url":"git+https://github.com/chettapong/nuxt-lodash.git"},"author":{"name":"Michal Čípa","email":"michal.cipa@softlin.cz"},"bugs":{"url":"https://github.com/chettapong/nuxt-lodash/issues"},"license":"MIT","readme":" <h1>Lodash for Nuxt</h1>\r\n \r\n<p>\r\n  <a href=\"https://www.npmjs.com/package/nuxt-lodash\"><img src=\"https://badgen.net/npm/v/nuxt-lodash\" alt=\"Version\"></a>\r\n  <a href=\"https://www.npmjs.com/package/nuxt-lodash\"><img src=\"https://badgen.net/npm/license/nuxt-lodash\" alt=\"License\"></a>\r\n  <a href=\"https://www.npmjs.com/package/nuxt-lodash\"><img src=\"https://badgen.net/npm/types/nuxt-lodash\" alt=\"Types\"></a>\r\n</p>\r\n   \r\n## 💡 About\r\n\r\n[Lodash](https://lodash.com) auto-import module for [Nuxt](https://nuxtjs.org).\r\n\r\n## 📦 Install\r\n\r\n1. Install `nuxt-lodash` as development dependency:\r\n\r\n```bash\r\nnpm i nuxt-lodash -D\r\n```\r\n\r\n2. Add it to the `modules` section of your `nuxt.config`:\r\n\r\n```ts\r\nexport default defineNuxtConfig({\r\n  modules: [\"nuxt-lodash\"],\r\n});\r\n```\r\n\r\n## 🚀 Example\r\n\r\nUse any [Lodash](https://lodash.com) methods in your Nuxt application, they will be auto-imported!\r\n\r\n```html\r\n<script setup>\r\n  const text = useToUpper(\"it works!\");\r\n</script>\r\n\r\n<template>\r\n  <div>{{ text }}</div>\r\n</template>\r\n```\r\n\r\n## 🔨 Config\r\n\r\n| Name               | Default | Description                                                                           |\r\n| ------------------ | ------- | ------------------------------------------------------------------------------------- |\r\n| `prefix`           | `'use'` | String to prepend before each Lodash function (false to disable)                      |\r\n| `prefixSkip`       | `'is'`  | Functions that starts with this keywords will be skipped by prefix (false to disable) |\r\n| `upperAfterPrefix` | `true`  | If true it will automatically uppercase first letter after prefix (false to disable)  |\r\n| `exclude`          | `[]`    | Array of Lodash functions to exclude from auto-imports                                |\r\n| `alias`            | `[]`    | Array of array pairs to rename specific Lodash functions (prefix is still added)      |\r\n\r\n## 💻 Example - Config\r\n\r\n```ts\r\nexport default defineNuxtConfig({\r\n  modules: [\"nuxt-lodash\"],\r\n  lodash: {\r\n    prefix: \"_\",\r\n    prefixSkip: [\"string\"],\r\n    upperAfterPrefix: false,\r\n    exclude: [\"map\"],\r\n    alias: [\r\n      [\"camelCase\", \"stringToCamelCase\"], // => stringToCamelCase\r\n      [\"kebabCase\", \"stringToKebab\"], // => stringToKebab\r\n      [\"isDate\", \"isLodashDate\"], // => _isLodashDate\r\n    ],\r\n  },\r\n});\r\n```\r\n\r\n## 📄 License\r\n\r\n[MIT License](https://github.com/cipami/nuxt-lodash/blob/master/LICENSE) © 2021-2022 - [Michal Čípa](https://github.com/cipami)\r\n","readmeFilename":"README.md","_rev":"1-350b7deec87e6786a89c0426621d9a62"}