{"_id":"open-graph-scraper-lite","_rev":"5-85c54334f623e991b1e6c3031cc68c4f","name":"open-graph-scraper-lite","dist-tags":{"latest":"2.1.0"},"versions":{"1.0.0":{"name":"open-graph-scraper-lite","version":"1.0.0","keywords":["app links","dublin core","meta tags","metadata","og","ogp","open graph","opengraph","scraper","twitter card","twitter"],"author":{"url":"https://github.com/jshemas","name":"Josh Shemas","email":"jjs90jjs@gmail.com"},"license":"MIT","_id":"open-graph-scraper-lite@1.0.0","maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"homepage":"https://github.com/jshemas/openGraphScraper#readme","bugs":{"url":"https://github.com/jshemas/openGraphScraper/issues"},"dist":{"shasum":"7e5c125b320af5f9e6a9beee4483ee59c28bf36a","tarball":"https://registry.npmjs.org/open-graph-scraper-lite/-/open-graph-scraper-lite-1.0.0.tgz","fileCount":7,"integrity":"sha512-P2ulrAHikRgI2vfDXE+ZKU9t3haG30WsOXt3KayyZ5C5m6T6+5QcBua9oKFuIfoFwvCwXSkJEfqjizab2yPQKg==","signatures":[{"sig":"MEQCIFPm3xIIAgueCl5nqjLSPFL8HLYWbT0R/IyczhRnVTdCAiA9gCp44KlT+GdS8HyL8I7QG/V+3jDLCoSG+oZN4LcdBA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1YRNCRA9TVsSAnZWagAAQQoQAJ1nWKUDWnYhZ8JGHo2e\n5G5rtYcSjMjvNo3Fypa/KzZwJuGBmdXa26L3q4rcc1Qp5UfWBVhpdkah0CSK\n8iFqKBisUVX2kl7TQ3A+Q1auxOmhZAzzBpw8Ol7pqk20iXZYAhwo5bsV2gWl\nzbxrApanWZ609JMcv+L4qQSByBPw7BVSQzmgiM0sDTp4+CKt7vQAZzTCRdQi\ncaSk1eC1luLfqe1uvUewIkFEk5PMm0ARrJmHoGUOBf4jk5fSbd1zSsg49mPr\nGeSCzYohTq1s0xtmT3PmE65HDc62uPp5zFPRKa5bltbFEG37KtHiCJ//MvOb\nnjilps4ko3cD/idM7p1xAgATG4lpQtxiXpnhLLhAvBfJ+50XQ7ExAe7tMcjZ\nfQk+8vv3rpMRloEE/bEgrNj2FbsyKXMqCZq9rnbYU6iWNEh55q6LWrtOmk/x\nTO8mSP+lJ5a4yVTW6Dqe9sMThFHCQgMkpoXbucvcWj1jNdevU2g1JZ736iAj\nUI1/qn7Mk3GIPbXoPo93a36U7c0X6DVMDu+MolyuqAfr5PUzwbIUVHHQxZWe\n50xvERWf7Uasl5DVn/IADMo5euU2bJPG6y+Q2M4bIoYBWgMzDTQDyTRfmBBO\nxCuQyOAh2U05kVWmeYU0Ycs3M7/kHKC3NCBMK8aFJjaOJq91We5bGM0egibA\nOgOG\r\n=ip5L\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","snyk":true,"engines":{"node":">=10.x.x"},"scripts":{"test":"npm run mocha:unit && npm run mocha:int","prepare":"npm run snyk-protect","mocha:int":"mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/integration/**/*.spec.js\" --timeout 10000","mocha:unit":"nyc --reporter=html --reporter=text --exclude=tests/ mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/unit/**/*.spec.js\"","snyk-protect":"snyk protect"},"_npmUser":{"name":"jshemas","email":"jjs90jjs@gmail.com"},"repository":{"url":"git+ssh://git@github.com/jshemas/openGraphScraper.git","web":"http://github.com/jshemas/openGraphScraper","type":"git"},"_npmVersion":"6.14.4","description":"Javascript scraper module for Open Graph and Twitter Card info","directories":{},"_nodeVersion":"12.16.3","dependencies":{"ky":"^0.25.1","chardet":"^1.3.0","cheerio":"^1.0.0-rc.3","validator":"^13.5.2","iconv-lite":"^0.6.2","ky-universal":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","chai":"^4.2.0","snyk":"^1.436.0","mocha":"^8.2.1","sinon":"^9.2.2"},"_npmOperationalInternal":{"tmp":"tmp/open-graph-scraper-lite_1.0.0_1607828556525_0.412762857697512","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"open-graph-scraper-lite","version":"1.1.0","keywords":["app links","dublin core","meta tags","metadata","og","ogp","open graph","opengraph","scraper","twitter card","twitter"],"author":{"url":"https://github.com/jshemas","name":"Josh Shemas","email":"jjs90jjs@gmail.com"},"license":"MIT","_id":"open-graph-scraper-lite@1.1.0","maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"homepage":"https://github.com/jshemas/openGraphScraperLite#readme","bugs":{"url":"https://github.com/jshemas/openGraphScraperLite/issues"},"dist":{"shasum":"e790c613e79760a29d240f5e237cd6bc51a8ddbf","tarball":"https://registry.npmjs.org/open-graph-scraper-lite/-/open-graph-scraper-lite-1.1.0.tgz","fileCount":13,"integrity":"sha512-5oLJ0eXuSDVq1FvAl082kUvA/tUUFHA6LXmQO9Pmy6gSDSaavbgDVRM8x/6SErWxPb+3LUdi6hcj8ERm/6RndA==","signatures":[{"sig":"MEUCIHsQ3sOvB7JYie4vRfDIAjcQyjGsGi7HtUeZ8/OvRzwbAiEAj87J0/ei3NS8JBYpALYRejL1f8Ysy0wjAt26Vu0lNRY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1o1LCRA9TVsSAnZWagAAEVIP/jOFZDMfE4QRFwWfgQ3U\ntNybSDsm3XUDnkS+tZLOieH/8MCbfDEQXPND36ngg4B3k+bXVcxvN6JIxVd3\nkAHvMBkqQmN6MIOwbaiVOxoHyk+Ghsx680hlw29r7OliepCUSfKJ/ArpN6Sf\nJdrkN6Sarh85z/l4XD2EtLlngt3s42nmA/DLAQ6pWAQfofJ9RAdNl/w/mFUd\nMZEPS0Keubu5ULRsPpiwWtRDDrCas7u3e7ncBhhx2TXuWDEBM24aHLquT/6z\nZG6pX9cIbx3Q8whFOSM2sn60Qp+1GxYPq3+ChixhWGlLl5Ey3sAnabN1aKfi\nUMXSjkgJCT04uJNKXo9mHCSWiwn+p9KukPD7tL4xt6zt1FKLjIb9f5D3gMWS\n/H2Y4pIgokVM6eguEjEucCkajYgmtF0emJOnr9bk9XfBWDRVL1MdCz2z8TPS\nu6AoA5YoR5VFrZqllS//q6OAPKjNcnVuRWEIS3bc0DKQ8g7A4QVKSo3wSy92\nFUCvUBSzeTZguausO09Q8JNeLJmoFOt71tCJUBI8DBEgrMNH/vWiZ9HCcuWG\nbbIcXcnYLe1NZSbK1MsGHYnUABKg2J6UyXtdQIcVnxcqtvRWCQ4aibRkokEk\nukOCXkxK2gAF/ltE26OA0skrQYXJ9UTZ8h2HOLHOopyjui9g9GZyoTHEdBpt\nZ9iv\r\n=wRaQ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","snyk":true,"engines":{"node":">=10.x.x"},"gitHead":"ab5e2ddbcb1302f66440a6d49b7602cb8a72d439","scripts":{"test":"npm run mocha:unit && npm run mocha:int","eslint":"eslint . --ext .js","prepare":"npm run snyk-protect","mocha:int":"mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/integration/**/*.spec.js\" --timeout 10000","eslint:fix":"eslint . --ext .js --fix","mocha:unit":"nyc --reporter=html --reporter=text --exclude=tests/ mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/unit/**/*.spec.js\"","snyk-protect":"snyk protect"},"_npmUser":{"name":"jshemas","email":"jjs90jjs@gmail.com"},"repository":{"url":"git+https://github.com/jshemas/openGraphScraperLite.git","web":"https://github.com/jshemas/openGraphScraperLite","type":"git"},"_npmVersion":"6.14.4","description":"Javascript scraper module for Open Graph and Twitter Card info","directories":{},"_nodeVersion":"12.16.3","dependencies":{"ky":"^0.25.1","chardet":"^1.3.0","cheerio":"^1.0.0-rc.3","validator":"^13.5.2","iconv-lite":"^0.6.2","ky-universal":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","chai":"^4.2.0","snyk":"^1.436.0","mocha":"^8.2.1","sinon":"^9.2.2","eslint":"^7.15.0","eslint-plugin-mocha":"^8.0.0","eslint-plugin-react":"^7.21.5","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/open-graph-scraper-lite_1.1.0_1607896395181_0.8720006731320373","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"open-graph-scraper-lite","version":"1.1.1","keywords":["app links","dublin core","meta tags","metadata","og","ogp","open graph","opengraph","scraper","twitter card","twitter"],"author":{"url":"https://github.com/jshemas","name":"Josh Shemas","email":"jjs90jjs@gmail.com"},"license":"MIT","_id":"open-graph-scraper-lite@1.1.1","maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"homepage":"https://github.com/jshemas/openGraphScraperLite#readme","bugs":{"url":"https://github.com/jshemas/openGraphScraperLite/issues"},"dist":{"shasum":"bc29237b8d2b09b5fa31f48ccaf82c19506e2417","tarball":"https://registry.npmjs.org/open-graph-scraper-lite/-/open-graph-scraper-lite-1.1.1.tgz","fileCount":13,"integrity":"sha512-uIFhhIOVoEMoKZGP8/5qhpx6mtUxwvvgyjooz4f+Av3eQsUcbL0FXmNrx9nYc8ef69RNN+ZbI8QflT2mb6YWWg==","signatures":[{"sig":"MEUCIDApsCKeYSJyAfZvoJ8bqURnC+pzIVTwUa2KmLR4lLQNAiEA8i7L/FCIbVi3wYjpgYW0ct2hHyOJP450JwVLXrtANo8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":50703,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf1phUCRA9TVsSAnZWagAA3wQP/3kNsP8+axLpRfzET3Or\nVGiQieX882a6B1bkWHrte6BLpngzg+H2gtRnbDglA+9GgyEY0gqbs33EuJV+\nezesl7MdJ4ljomXKfIe8iGBr/liFqS06QI4cERW7R2s4cy/5+hf9V9dzb0tl\nYyK3vfdAtEMmrkLMRgzih3INmTMFD6T5l8ZWqQV9qd4RSo0dPYfv9MVqynLq\nbXHPeSA7AbEvANlVBdnaMHzEzmA+xW1MGVXD6E8rWAeoOWdGxJcc22yQzOWC\nZFKhUBjuHDIXmZeHFdwmLsjMXPF6au7Hxx/U23Jm7ADQDAQfLlcCeNxEg8N9\nbr3Uxt5XRTd7UQcUCm1xUih81Hw3LIXtQ/KnQ/gEyyPc0liMNsIwz4WT2Grv\nrRKcvSionD2xjezSWTh3DlSf+ipQjLK9wt8viSmU14cK+z3k2zXXlt03ntil\nm4Kmuif+ZbX50ebXIrCWKnIzurRmRPt2cDfRgKkfoPqfLDV8qlwY9KjM3tzE\nHyN1lMQNLWgKPhIxZG0QG7sfxkQyIRSsPtPZuD6dFt7bU1LuFgfsuBD5iUd1\nl/YSlXl7C1n5MZcMqXT1Pta1wdmoBCJvm5dZMm+JQ4+K7kF+8IoBv07fTzUe\nR8MaZVpHBVUr6kPD3Mucl1q//zchoKoeImZ21AcqGx/03YAi3wkqk9tfAaQx\ncivJ\r\n=iY8N\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","snyk":true,"engines":{"node":">=10.x.x"},"gitHead":"031ebb0557efa196d0892aefb0929b9d45003521","scripts":{"test":"npm run mocha:unit && npm run mocha:int","eslint":"eslint . --ext .js","prepare":"npm run snyk-protect","mocha:int":"mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/integration/**/*.spec.js\" --timeout 10000","eslint:fix":"eslint . --ext .js --fix","mocha:unit":"nyc --reporter=html --reporter=text --exclude=tests/ mocha --require ./tests/helpers/bootstrap.js --recursive \"./tests/unit/**/*.spec.js\"","snyk-protect":"snyk protect"},"_npmUser":{"name":"jshemas","email":"jjs90jjs@gmail.com"},"repository":{"url":"git+https://github.com/jshemas/openGraphScraperLite.git","web":"https://github.com/jshemas/openGraphScraperLite","type":"git"},"_npmVersion":"6.14.4","description":"Javascript scraper module for Open Graph and Twitter Card info","directories":{},"_nodeVersion":"12.16.3","dependencies":{"ky":"^0.25.1","chardet":"^1.3.0","cheerio":"^1.0.0-rc.3","validator":"^13.5.2","iconv-lite":"^0.6.2","ky-universal":"^0.8.2"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.1","chai":"^4.2.0","snyk":"^1.436.0","mocha":"^8.2.1","sinon":"^9.2.2","eslint":"^7.15.0","eslint-plugin-mocha":"^8.0.0","eslint-plugin-react":"^7.21.5","eslint-config-airbnb":"^18.2.1","eslint-plugin-import":"^2.22.1","eslint-plugin-promise":"^4.2.1","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-react-hooks":"^4.2.0"},"_npmOperationalInternal":{"tmp":"tmp/open-graph-scraper-lite_1.1.1_1607899219591_0.06086803286876319","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"open-graph-scraper-lite","version":"2.0.0","keywords":["app links","dublin core","meta tags","metadata","og","ogp","ogs","open graph scraper","open graph","opengraph","openGraphScraper","scraper","twitter card","twitter"],"author":{"url":"https://github.com/jshemas","name":"Josh Shemas","email":"jjs90jjs@gmail.com"},"license":"MIT","_id":"open-graph-scraper-lite@2.0.0","maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"homepage":"https://github.com/jshemas/openGraphScraperLite#readme","bugs":{"url":"https://github.com/jshemas/openGraphScraperLite/issues"},"dist":{"shasum":"bcf568f9ca91242f70d57c838c26625296d437d7","tarball":"https://registry.npmjs.org/open-graph-scraper-lite/-/open-graph-scraper-lite-2.0.0.tgz","fileCount":21,"integrity":"sha512-1FoACn7k8FwYHVga0Pc7f7n+SboR15s5cQb83Eh0Vd02ZFMV6qhm9TMYPuv85NPWHkM6LnS0eQCKdOnDzsr1EA==","signatures":[{"sig":"MEUCIQCkTkuVlHVu+zaXpjDSKXQ+qXfvUtq/Pa4Hj/WemW34YQIgbrqyEZlGuOgm9FuAfHKb4aVtDYbs0071vPopyRLMsfY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68676},"main":"./dist/index.js","snyk":true,"types":"./dist/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"85d75813cc3ade34cd10ef7e8f4edf4ae7ad08aa","scripts":{"ci":"npm run eslint && npm run build && npm run test","test":"npm run mocha:unit","build":"tsc","eslint":"eslint . --ext .js,.ts","prepare":"npm run snyk-protect && npm run build","eslint:fix":"eslint . --ext .js,.ts --fix","mocha:unit":"nyc --reporter=html --reporter=text --exclude=tests/ ts-mocha --recursive \"./tests/unit/**/*.spec.ts\"","snyk-protect":"snyk-protect"},"_npmUser":{"name":"jshemas","email":"jjs90jjs@gmail.com"},"repository":{"url":"git+https://github.com/jshemas/openGraphScraperLite.git","web":"https://github.com/jshemas/openGraphScraperLite","type":"git"},"_npmVersion":"9.5.1","description":"Javascript scraper module for Open Graph and Twitter Card info","directories":{},"_nodeVersion":"18.16.0","dependencies":{"chardet":"^2.0.0","cheerio":"^1.0.0-rc.12","validator":"^13.11.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.3.10","mocha":"^10.2.0","sinon":"^17.0.0","eslint":"^8.52.0","ts-mocha":"^10.0.0","typescript":"^5.2.2","@types/node":"^18.16.18","@types/mocha":"^10.0.3","@snyk/protect":"^1.1236.0","@types/validator":"^13.11.5","eslint-plugin-mocha":"^10.2.0","eslint-plugin-import":"^2.28.1","eslint-plugin-promise":"^6.1.1","@typescript-eslint/parser":"^6.8.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^17.1.0","@typescript-eslint/eslint-plugin":"^6.8.0"},"_npmOperationalInternal":{"tmp":"tmp/open-graph-scraper-lite_2.0.0_1698007828265_0.09496916267109445","host":"s3://npm-registry-packages"}},"2.1.0":{"name":"open-graph-scraper-lite","description":"Javascript scraper module for Open Graph and Twitter Card info","version":"2.1.0","license":"MIT","main":"./dist/cjs/index.js","types":"./types/index.d.ts","exports":{".":{"types":"./types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"}},"scripts":{"build:cjs":"tsc --project tsconfig.build.json --module commonjs --outDir dist/cjs/","build:declaration":"tsc --project tsconfig.declaration.json --module node16 --moduleResolution node16","build:esm":"tsc --project tsconfig.build.json --module node16 --moduleResolution node16 --outDir dist/esm/","build":"rm -rf dist/ && npm run build:cjs && npm run build:esm","ci":"npm run eslint && npm run build && npm run build:declaration && npm run test","eslint:fix":"eslint . --ext .js,.ts --fix","eslint":"eslint . --ext .js,.ts","mocha:unit":"nyc --reporter=html --reporter=text --exclude=tests/ ts-mocha --recursive \"./tests/unit/**/*.spec.ts\"","prepare":"npm run snyk-protect && npm run build","snyk-protect":"snyk-protect","test":"npm run mocha:unit"},"engines":{"node":">=16.0.0"},"author":{"name":"Josh Shemas","email":"jjs90jjs@gmail.com","url":"https://github.com/jshemas"},"dependencies":{"chardet":"^2.0.0","cheerio":"^1.0.0-rc.12","validator":"^13.12.0"},"devDependencies":{"@snyk/protect":"^1.1292.1","@types/mocha":"^10.0.7","@types/node":"^18.19.39","@types/validator":"^13.12.0","@typescript-eslint/eslint-plugin":"^7.16.0","@typescript-eslint/parser":"^7.16.0","chai":"^4.4.1","eslint":"^8.57.0","eslint-config-airbnb-base":"^15.0.0","eslint-config-airbnb-typescript":"^18.0.0","eslint-plugin-import":"^2.29.1","eslint-plugin-mocha":"^10.4.3","eslint-plugin-promise":"^6.4.0","mocha":"^10.6.0","nyc":"^17.0.0","sinon":"^18.0.0","ts-mocha":"^10.0.0","typescript":"^5.5.3"},"repository":{"type":"git","url":"git+https://github.com/jshemas/openGraphScraperLite.git","web":"https://github.com/jshemas/openGraphScraperLite"},"keywords":["app links","dublin core","json ld","meta tags","metadata","og","ogp","ogs","open graph scraper","open graph","opengraph","openGraphScraper","scraper","twitter card","twitter"],"snyk":true,"_id":"open-graph-scraper-lite@2.1.0","gitHead":"2b68a97e81d5ad5b5b4a4161a8616f0e467c29ec","bugs":{"url":"https://github.com/jshemas/openGraphScraperLite/issues"},"homepage":"https://github.com/jshemas/openGraphScraperLite#readme","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"integrity":"sha512-/x+7aQyvAo/utzvxHkz9VdtNiuhKhQQ7prbV9uMoop23C7L311rk6oZoT29pvXQF8V45qWrk0aqoeoMM9MF2sA==","shasum":"7b713355af28e2fe1c8da81b1565638d2e6a1ec4","tarball":"https://registry.npmjs.org/open-graph-scraper-lite/-/open-graph-scraper-lite-2.1.0.tgz","fileCount":29,"unpackedSize":127856,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAS76naEQ9tFV7DRsjf11DVFP3fTNfgR1AEm/8O1SoVsAiEAuBiDsyPZrA+/O8515mpKnQqqNIcttyewANYtzAZwuRI="}]},"_npmUser":{"name":"jshemas","email":"jjs90jjs@gmail.com"},"directories":{},"maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/open-graph-scraper-lite_2.1.0_1721007802853_0.5692384641842656"},"_hasShrinkwrap":false}},"time":{"created":"2020-12-13T03:02:36.525Z","modified":"2024-07-15T01:43:23.234Z","1.0.0":"2020-12-13T03:02:36.727Z","1.1.0":"2020-12-13T21:53:15.398Z","1.1.1":"2020-12-13T22:40:19.714Z","2.0.0":"2023-10-22T20:50:28.498Z","2.1.0":"2024-07-15T01:43:23.053Z"},"bugs":{"url":"https://github.com/jshemas/openGraphScraperLite/issues"},"author":{"name":"Josh Shemas","email":"jjs90jjs@gmail.com","url":"https://github.com/jshemas"},"license":"MIT","homepage":"https://github.com/jshemas/openGraphScraperLite#readme","keywords":["app links","dublin core","json ld","meta tags","metadata","og","ogp","ogs","open graph scraper","open graph","opengraph","openGraphScraper","scraper","twitter card","twitter"],"repository":{"type":"git","url":"git+https://github.com/jshemas/openGraphScraperLite.git","web":"https://github.com/jshemas/openGraphScraperLite"},"description":"Javascript scraper module for Open Graph and Twitter Card info","maintainers":[{"name":"jshemas","email":"jjs90jjs@gmail.com"}],"readme":"# openGraphScraperLite\n\n[![Node.js CI](https://github.com/jshemas/openGraphScraperLite/workflows/Node.js%20CI/badge.svg?branch=master)](https://github.com/jshemas/openGraphScraperLite/actions?query=branch%3Amaster)\n[![Known Vulnerabilities](https://snyk.io/test/github/jshemas/openGraphScraperLite/badge.svg)](https://snyk.io/test/github/jshemas/openGraphScraperLite)\n\nA simple javascript module for scraping Open Graph and Twitter Card info from given HTML. For Node.js usage, we recommend `open-graph-scraper` by the same people and can do HTTP requests.\n\n## Installation\n\n```bash\nnpm install open-graph-scraper-lite --save\n```\n\n## Usage\n\n```javascript\nconst ogs = require('open-graph-scraper');\nconst options = {\n  html: `<html><head>\n  <link rel=\"icon\" type=\"image/png\" href=\"https://bar.com/foo.png\" />\n  <meta charset=\"utf-8\" />\n  <meta property=\"og:description\" name=\"og:description\" content=\"html description example\" />\n  <meta property=\"og:image\" name=\"og:image\" content=\"https://www.foo.com/bar.jpg\" />\n  <meta property=\"og:title\" name=\"og:title\" content=\"foobar\" />\n  <meta property=\"og:type\" name=\"og:type\" content=\"website\" />\n  </head></html>`\n};\nogs(options)\n  .then((data) => {\n    const { result } = data;\n    console.log('result:', result);\n  })\n```\n\n## Results JSON\n\n```javascript\nresult: {\n  ogDescription: 'html description example',\n  ogTitle: 'foobar',\n  ogType: 'website',\n  ogImage: [ { url: 'https://www.foo.com/bar.jpg', type: 'jpg' } ],\n  favicon: 'https://bar.com/foo.png',\n  charset: 'utf-8',\n  success: true\n}\n```\n\n## Options\n\n| Name                 | Info                                                                       | Default Value | Required |\n|----------------------|----------------------------------------------------------------------------|---------------|----------|\n| html                 | You can pass in an HTML string to run ogs on it. (use without options.url) | x             |          |\n| onlyGetOpenGraphInfo | Only fetch open graph info and don't fall back on anything else.           | false         |          |\n| customMetaTags       | Here you can define custom meta tags you want to scrape.                   | []            |          |\n\n## Custom Meta Tag Example\n\n```javascript\nconst ogs = require('open-graph-scraper');\nconst options = {\n  html: `<html><head>\n  <link rel=\"icon\" type=\"image/png\" href=\"https://bar.com/foo.png\" />\n  <meta charset=\"utf-8\" />\n  <meta property=\"og:description\" name=\"og:description\" content=\"html description example\" />\n  <meta property=\"og:image\" name=\"og:image\" content=\"https://www.foo.com/bar.jpg\" />\n  <meta property=\"og:title\" name=\"og:title\" content=\"foobar\" />\n  <meta property=\"og:type\" name=\"og:type\" content=\"website\" />\n  <meta name=\"hostname\" content=\"github.com\">\n  </head></html>`,\n  customMetaTags: [{\n    multiple: false, // is there more than one of these tags on a page (normally this is false)\n    property: 'hostname', // meta tag name/property attribute\n    fieldName: 'hostnameMetaTag', // name of the result variable\n  }],\n};\nogs(options)\n  .then((data) => {\n    const { result } = data;\n    console.log('hostnameMetaTag:', result.customMetaTags.hostnameMetaTag); // hostnameMetaTag: github.com\n  })\n```\n","readmeFilename":"README.md"}