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.

78 lines (77 loc) 2.03 kB
{ "name": "iconly", "version": "2.0.1", "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, "scripts": { "clean": "rimraf dist", "build": "vite build", "lint:js": "eslint src/**/*.{ts,js}", "lint:fix:js": "eslint src/**/*.{ts,js} --fix", "format:js": "prettier --write src/**/*.{ts,js}", "lint:fix": "yarn lint:fix:js && yarn format:js" }, "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": { ".": { "require": "./dist/index.cjs.js", "import": "./dist/index.es.js", "default": "./dist/index.umd.js" }, "./dist/*": "./dist/*" }, "files": [ "dist/" ], "devDependencies": { "@eslint/js": "9.22.0", "@rollup/plugin-terser": "0.4.4", "@types/node": "22.13.10", "@typescript-eslint/eslint-plugin": "8.26.0", "@typescript-eslint/parser": "8.26.0", "eslint": "9.22.0", "eslint-config-prettier": "10.1.1", "eslint-import-resolver-typescript": "3.8.3", "eslint-plugin-import": "2.31.0", "globals": "16.0.0", "prettier": "3.5.3", "rimraf": "6.0.1", "typescript": "5.8.2", "vite": "6.2.1", "vite-plugin-dts": "4.5.3" }, "keywords": [ "icon", "icons", "svg", "sprite", "vector", "ui", "icon-set", "svg-icons", "IndexedDB", "loader", "storage", "fetch", "component", "sprites", "typescript", "utility", "javascript", "es6" ] }