Created
January 23, 2023 21:38
-
-
Save betillogalvanfbc/cb1e3ed1fa41cf5b991d57ac496ed680 to your computer and use it in GitHub Desktop.
linkPreviewGenerator.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const linkPreviewGenerator = require("link-preview-generator"); | |
async function run() { | |
const previewData = await linkPreviewGenerator("url"); | |
console.log(previewData); | |
} | |
run(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment