MCPcopy Create free account
hub / github.com/ThatGuySam/doesitarm / makeTag

Function makeTag

helpers/config-node.js:208–213  ·  view source on GitHub ↗
( tag, tagName = 'meta' )

Source from the content-addressed store, hash-verified

206}
207
208function makeTag ( tag, tagName = 'meta' ) {
209
210 const attributes = Object.entries(tag).map( ([ name, value ]) => `${name}="${value}"` ).join(' ')
211
212 return `<${tagName} ${attributes}>`
213}
214
215function mapMetaTag ( tag ) {
216

Callers 2

mapMetaTagFunction · 0.85
mapLinkTagFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected