UNPKG

link-preview-js

Version:

Javascript module to extract and fetch HTTP link information from blocks of text.

58 lines (57 loc) 1.61 kB
{ "name": "link-preview-js", "version": "2.1.6", "description": "Javascript module to extract and fetch HTTP link information from blocks of text. ", "main": "build/index.js", "exports": { "require": "./build/index.js", "import": "./build/index.js" }, "types": "build/index.d.ts", "scripts": { "test": "jest", "test:ci": "jest --testLocationInResults --ci --outputFile=test_results.json --json", "build": "tsc", "publishPackage": "tsc && jest --detectOpenHandles && npm publish " }, "keywords": [ "javascript", "link", "url", "http", "preview" ], "author": "Oscar Franco", "email": "ospfranco@protonmail.com", "license": "MIT", "repository": "https://github.com/ospfranco/link-preview-js", "dependencies": { "cheerio": "1.0.0-rc.5", "cross-fetch": "3.0.6", "url": "0.11.0" }, "files": [ "build" ], "devDependencies": { "@skypack/package-check": "^0.2.2", "@types/cheerio": "0.22.24", "@types/jest": "^26.0.19", "@typescript-eslint/eslint-plugin": "^2.15.0", "@typescript-eslint/parser": "^2.15.0", "eslint": "^6.8.0", "eslint-config-airbnb": "^18.0.1", "eslint-config-prettier": "^6.9.0", "eslint-import-resolver-typescript": "^2.0.0", "eslint-plugin-import": "^2.19.1", "eslint-plugin-jest": "^23.3.0", "eslint-plugin-json": "^2.0.1", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.17.0", "jest": "^26.6.3", "prettier": "2.2.1", "ts-jest": "^26.4.4", "typescript": "^4.1.3" } }