UNPKG

glancify

Version:

Get title, description and image from a URL for link preview purposes

63 lines 1.28 kB
{ "name": "glancify", "version": "1.0.1", "author": "Pavlo Golovatyy", "description": "Get title, description and image from a URL for link preview purposes", "keywords": [ "link-preview", "meta", "opengraph", "fetch" ], "license": "MIT", "main": "dist/index.js", "module": "dist/glancify.esm.js", "typings": "dist/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "engines": { "node": ">=10" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "size-limit": [ { "path": "dist/glancify.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/glancify.esm.js", "limit": "10 KB" } ], "devDependencies": { "@size-limit/preset-small-lib": "^11.2.0", "@types/jest": "^29.5.14", "husky": "^9.1.7", "jest-fetch-mock": "^3.0.3", "size-limit": "^11.2.0", "tsdx": "^0.14.1", "tslib": "^2.8.1", "typescript": "^5.8.3" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "size": "size-limit", "analyze": "size-limit --why" } }