link-preview-js
Version:
Javascript module to extract and fetch HTTP link information from blocks of text.
67 lines (66 loc) • 1.62 kB
JSON
{
"name": "link-preview-js",
"version": "5.0.0",
"description": "Javascript module to extract and fetch HTTP link information from blocks of text.",
"main": "build/index.js",
"exports": {
".": {
"types": "./build/index.d.ts",
"require": "./build/index.js",
"import": "./build/index.js"
},
"./node": {
"types": "./build/node.d.ts",
"require": "./build/node.js",
"import": "./build/node.js"
},
"./mobile": {
"types": "./build/mobile.d.ts",
"require": "./build/mobile.js",
"import": "./build/mobile.js"
},
"./package.json": "./package.json"
},
"types": "build/index.d.ts",
"scripts": {
"test": "bun test __tests__",
"test:ci": "bun test __tests__",
"build": "tsc -p tsconfig.build.json",
"lint": "oxlint . --jest-plugin --deny-warnings",
"lint:fix": "oxlint . --jest-plugin --fix",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"prepublishOnly": "tsc -p tsconfig.build.json"
},
"keywords": [
"javascript",
"link",
"url",
"http",
"preview"
],
"author": "Oscar Franco",
"email": "ospfranco@gmail.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/OP-Engineering/link-preview-js.git"
},
"dependencies": {
"cheerio": "1.0.0-rc.11",
"undici": "^8.6.0"
},
"files": [
"build"
],
"devDependencies": {
"@types/bun": "^1.3.14",
"@types/cheerio": "0.22.24",
"oxfmt": "^0.46.0",
"oxlint": "^1.61.0",
"typescript": "7.0.1-rc"
},
"engines": {
"node": ">=22"
}
}