@unlazy/core
Version:
Universal lazy loading library for placeholder images leveraging native browser APIs
77 lines • 1.86 kB
JSON
{
"name": "@unlazy/core",
"type": "module",
"version": "2.0.1",
"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": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./blurhash": {
"import": {
"types": "./dist/blurhash.d.ts",
"default": "./dist/blurhash.js"
},
"require": {
"types": "./dist/blurhash.d.cts",
"default": "./dist/blurhash.cjs"
}
},
"./thumbhash": {
"import": {
"types": "./dist/thumbhash.d.ts",
"default": "./dist/thumbhash.js"
},
"require": {
"types": "./dist/thumbhash.d.cts",
"default": "./dist/thumbhash.cjs"
}
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"devDependencies": {
"fast-blurhash": "^1.1.4",
"thumbhash": "^0.1.1"
},
"scripts": {
"build": "tsdown",
"test": "vitest",
"test:run": "vitest run",
"test:types": "tsc --noEmit",
"test:build": "publint --strict && attw --pack --profile node16"
}
}