alfa-zipcode v2.0.0
Alfa-Zipcode
Find the postal code of any location in Mexico easily with this library.
Features
- Compatible with Next.js and React.
- Built with TypeScript.
- TailwindCSS-based design.
Installation
To get started, install the library using npm:
npm install alfa-zipcode
TailwindCSS Setup
This library uses TailwindCSS for styling. After installation, update your tailwind.config.ts
file to include the following path:
'./node_modules/my-component-path/**/*.{vue,js,ts,jsx,tsx}',
Example Configuration
export default {
darkMode: ["class"],
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
'./node_modules/my-component-path/**/*.{vue,js,ts,jsx,tsx}',
],
}
Usage
To use the library, import the component and integrate it into your project:
import GetZipCode from "alfa-zipcode";
You're now ready to look up postal codes!
License
This project is licensed under the MIT License. See the LICENSE file for details.
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago