Skip to content

BlackAsLight/create-tag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CreateTag

createTag is a simple function offering a simple way to create tags with dynamic properties in your code.

This package is designed to work in the browser, but should work anywhere that there is a global document variable.

import { createTag } from '@doctor/create-tag'

console.log(createTag('p', { textContent: 'Hello World!' }).outerHTML)

About

A simple means to create tags with dynamic properties.

Resources

License

Stars

Watchers

Forks