url-metadata
npm module: Fetch a url & scrape the metadata from its HTML with Node.js or the browser.
File Explorer
Download Latest Version (.zip)- pull_request_template.md
- pre-commit
- index.js
- package.json
- fetch.tsx
- layout.tsx
- page.tsx
- next-env.d.ts
- package.json
- tsconfig.json
- index.html
- index.ts
- metadata.html
- package.json
- tsconfig.json
- webpack.config.js
- vite.svg
- counter.ts
- main.ts
- style.css
- typescript.svg
- vite-env.d.ts
- .gitignore
- index.html
- metadata.html
- package.json
- tsconfig.json
- clean.js
- extract-canonical.js
- extract-charset.js
- extract-favicons.js
- extract-headers.js
- extract-headings.js
- extract-hreflang.js
- extract-img-tags.js
- extract-json-ld.js
- extract-meta-tags.js
- http-error.js
- metadata-fields.js
- parse.js
- resolve-fields.js
- utils.js
- basic.test.js
- canonical.test.js
- citations.test.js
- decode.test.js
- fail.test.js
- fields-gating.test.js
- fields-groups.test.js
- fields-network.test.js
- fields.test.js
- hreflang.test.js
- itemprop.test.js
- json-ld.test.js
- og.test.js
- omit-empty.test.js
- options.test.js
- proxy.test.js
- redirect-perf.test.js
- robots.test.js
- setup-env.js
- ssrf.test.js
- type-drift.test.js
- x402.test.js
- .gitignore
- browser.js
- CHANGELOG.md
- index.d.ts
- index.js
- LICENSE
- main.js
- package.json
- README.md
- ROADMAP.md
# Installation Guide
1. Get the code
git clone https://github.com/laurengarcia/url-metadata
Downloads the entire project code from GitHub to your computer.
cd url-metadata
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
npm install url-metadata --save
Downloads and installs the libraries listed in package.json.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
