UNPKG

iconly

Version:

Iconly is designed to load and cache SVG icons in the browser, using IndexedDB to store the data. It retrieves the icons from a given SVG file, stores them in IndexedDB, and inserts them into the DOM for easy access and use.

82 lines (81 loc) 2.05 kB
{ "name": "iconly", "version": "3.0.2", "description": "Iconly is designed to load and cache SVG icons in the browser, using IndexedDB to store the data. It retrieves the icons from a given SVG file, stores them in IndexedDB, and inserts them into the DOM for easy access and use.", "author": "ux-ui.pro", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/ux-ui-pro/iconly.git" }, "bugs": { "url": "https://github.com/ux-ui-pro/iconly/issues" }, "homepage": "https://github.com/ux-ui-pro/iconly", "sideEffects": false, "type": "module", "engines": { "node": ">=18.0.0" }, "scripts": { "clean": "rimraf dist", "build": "vite build", "verify": "yarn lint && yarn typecheck && yarn test", "lint": "biome check src tests", "lint:fix": "biome check --write src tests", "format": "biome format --write src tests", "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest run", "test:watch": "vitest", "prepublishOnly": "yarn clean && yarn build && yarn verify" }, "source": "src/index.ts", "main": "dist/index.cjs.js", "module": "dist/index.es.js", "browser": "./dist/index.umd.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "require": "./dist/index.cjs.js", "import": "./dist/index.es.js", "default": "./dist/index.umd.js" } }, "files": [ "dist", "CHANGELOG.md", "README.md", "LICENSE" ], "devDependencies": { "@biomejs/biome": "2.3.12", "@types/node": "25.0.10", "fake-indexeddb": "6.2.5", "jsdom": "27.4.0", "rimraf": "6.1.2", "typescript": "5.9.3", "vite": "7.3.1", "vite-plugin-dts": "4.5.4", "vitest": "4.0.18" }, "keywords": [ "icon", "icons", "svg", "sprite", "vector", "ui", "icon-set", "svg-icons", "IndexedDB", "loader", "storage", "fetch", "component", "sprites", "typescript", "utility", "javascript" ] }