laurengarcia / url-metadata

NPM module: Request a url and scrape the metadata from its HTML using Node.js or the browser.
https://www.npmjs.com/package/url-metadata
MIT License
166 stars 43 forks source link

Typescript definition is missing `parseResponseObject` #76

Closed ajmas closed 7 months ago

ajmas commented 7 months ago

Looking at the Typescript definition, it would appear that parseResponseObject is missing from the Options interface, causing problems when compiling in Typescript.

This issue can be worked around by casting the options to any.

url-metadata: 3.5.2

laurengarcia commented 7 months ago

Thanks for filing this bug. Should be fixed in latest version 3.5.3 https://www.npmjs.com/package/url-metadata

Feel free to reopen if you have any further issues.