@unlazy/core
Version:
Universal lazy loading library for placeholder images leveraging native browser APIs
89 lines • 2.09 kB
JSON
{
"name": "@unlazy/core",
"type": "module",
"version": "1.0.0",
"description": "Universal lazy loading library for placeholder images leveraging native browser APIs",
"author": "Johann Schopplich <hello@johannschopplich.com>",
"license": "MIT",
"homepage": "https://unlazy.byjohann.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/johannschopplich/unlazy.git",
"directory": "packages/core"
},
"bugs": {
"url": "https://github.com/johannschopplich/unlazy/issues"
},
"keywords": [
"blurhash",
"lazy",
"loading",
"lozad",
"placeholder",
"responsive",
"thumbhash"
],
"sideEffects": false,
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"default": "./dist/index.mjs"
},
"./blurhash": {
"types": "./dist/blurhash.d.ts",
"import": {
"types": "./dist/blurhash.d.mts",
"default": "./dist/blurhash.mjs"
},
"require": {
"types": "./dist/blurhash.d.cts",
"default": "./dist/blurhash.cjs"
},
"default": "./dist/blurhash.mjs"
},
"./thumbhash": {
"types": "./dist/thumbhash.d.ts",
"import": {
"types": "./dist/thumbhash.d.mts",
"default": "./dist/thumbhash.mjs"
},
"require": {
"types": "./dist/thumbhash.d.cts",
"default": "./dist/thumbhash.cjs"
},
"default": "./dist/thumbhash.mjs"
},
"./*": "./*"
},
"main": "./dist/index.cjs",
"types": "./dist/index.d.ts",
"typesVersions": {
"*": {
"*": [
"dist/*"
]
}
},
"files": [
"dist"
],
"devDependencies": {
"fast-blurhash": "^1.1.4",
"thumbhash": "^0.1.1"
},
"scripts": {
"build": "unbuild",
"dev:prepare": "unbuild --stub",
"test": "vitest",
"test:run": "vitest run",
"test:types": "tsc --noEmit"
}
}