UNPKG

places-autocomplete-js

Version:

A flexible and customisable vanilla JavaScript library leveraging the Google Maps Places (New) Autocomplete API. This library provides a user-friendly way to search for and retrieve detailed address information in any web application.

80 lines (79 loc) 2.17 kB
{ "name": "places-autocomplete-js", "license": "MIT", "type": "module", "version": "1.1.1", "description": "A flexible and customisable vanilla JavaScript library leveraging the Google Maps Places (New) Autocomplete API. This library provides a user-friendly way to search for and retrieve detailed address information in any web application.", "keywords": [ "place-autocomplete", "places-autocomplete-js", "google-places-api", "google-places-autocomplete-api", "autocomplete", "google-maps", "places-autocomplete", "location", "geocoding", "address", "address-input", "input", "search", "vanilla-js", "frontend", "web-component", "address-lookup", "location-search", "google-maps-platform", "google-places-api-new", "javascript-library", "address-autocomplete", "location-autocomplete" ], "homepage": "https://pacservice.pages.dev", "repository": { "type": "git", "url": "git+https://github.com/alexpechkarev/places-autocomplete-js.git" }, "bugs": { "url": "https://github.com/alexpechkarev/places-autocomplete-js/issues" }, "author": { "name": "Alexander Pechkarev", "url": "https://github.com/alexpechkarev" }, "files": [ "dist" ], "main": "./dist/places-autocomplete.umd.cjs", "module": "./dist/places-autocomplete.js", "exports": { ".": { "import": "./dist/places-autocomplete.js", "require": "./dist/places-autocomplete.umd.cjs" } }, "scripts": { "dev": "vite dev", "build": "vite build", "preview": "vite preview", "lint": "eslint src/**/*.js", "test:vitest": "vitest", "test:e2e": "playwright test", "test": "npm run test:vitest && npm run test:e2e" }, "devDependencies": { "@playwright/test": "^1.53.2", "@tailwindcss/postcss": "^4.1.11", "@tailwindcss/vite": "^4.1.11", "@types/node": "^24.0.10", "@vitest/ui": "^3.2.4", "dotenv": "^17.0.1", "eslint": "^9.30.1", "jsdom": "^26.1.0", "playwright": "^1.53.2", "postcss": "^8.5.6", "tailwindcss": "^4.1.11", "vite": "^7.0.2", "vitest": "^3.2.4" } }