UNPKG
url-metadata-parser
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Request an http(s) url and scrape its metadata
url-metadata-parser
/
dist
/
meta.entity.d.ts
9 lines
(8 loc)
•
293 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import { Metatag }
from
'./metatag'
; export
declare
class
MetaEntity
{ tags: Metatag[];
constructor
(
tags
: Metatag[]);
getContentByPropertyName
(
propertyName
:
string
):
string
|
null
;
getContentByName
(
name
:
string
):
string
|
null
;
getNameByContent
(
content
:
string
):
string
; }