Overview:
Pathpida is a tool that provides type safety and automatic generation of type definition files for manipulating internal links in Next.js and Nuxt.js. It requires no configuration and can be used immediately after installation. It offers support for static files, allowing safe referencing of static assets. Pathpida is lightweight and does not include runtime code in the bundle.
Features:
- Type safety: Automatically generate type definition files for manipulating internal links in Next.js/Nuxt.js.
- Zero configuration: No configuration required, can be used immediately after installation.
- Zero runtime: Lightweight because runtime code is not included in the bundle.
- Support for static files: Static files in public/ are also supported, so static assets can be safely referenced.
- Support for appDir of Next.js 13 Layout.
Installation:
To install pathpida, you can use either npm or yarn.
Using npm:
npm install pathpida
Using Yarn:
yarn add pathpida
Summary:
Pathpida is a tool that enhances the development experience in Next.js and Nuxt.js by providing type safety and automatic generation of type definition files for internal links. It requires no configuration and offers support for static files. With its lightweight and zero runtime approach, pathpida is a convenient solution for manipulating internal links in these frameworks.