open-graph-scraper
Advanced tools
Changelog
6.8.2
isLatin1
then encode it, otherwise you will run into ByteString
errors within fetch
Changelog
6.8.1
fetchOptions.headers
would replace the default headers
Changelog
6.8.0
onlyGetOpenGraphInfo
works. By default it is false
but now it accepts an array of properties for which no fallback should be used.import { SuccessResult } from 'open-graph-scraper/types';
. See readme for details.Changelog
6.7.2
types
to the npm export. You can now use import { SuccessResult } from 'open-graph-scraper/types/lib/types';
Changelog
6.7.1
default
export off of the run
function and just set export
to run
.Changelog
6.7.0
validator
with internal version of isUrl
so we have better control on how that works.JSON
parsing fails when Youtube escape '&' to '\x26'.Changelog
6.6.3
charset
fallback. Replace Buffer.from with Uint8Array since body is always htmlChangelog
6.6.2
package.json
exports
was not working in CommonJs
projects.jsonLD
tag was empty, it would cause a error.Changelog
6.6.1
node16
for module
/moduleResolution
ESM buildpackage.json
exports
was not working in NextJs
projects.Changelog
6.6.0
tsc
build process to better support both ESM
and commonJS
dist
folder from version controlresult
of OGS now