@nulo/html.js (0.0.7)

Published 2023-01-13 00:27:06 +00:00 by Nulo in Nulo/html.js

Installation

@nulo:registry=
npm install @nulo/html.js@0.0.7
"@nulo/html.js": "0.0.7"

About this package

html.js

Escribí HTML en JS sin JSX.

Instalar

npm config set @nulo:registry https://gitea.nulo.in/api/packages/nulo/npm/
npm add @nulo/html.js

Uso

import {render, h1, doctype, metaUtf8, meta, link} from '@nulo/html.js'

const head = [
  doctype(),
  metaUtf8,
  meta({ name: "viewport", content: "width=device-width, initial-scale=1.0" }),
  link({ rel: "stylesheet", href: "style.css" }),
]

const html = render(
  ...head,
  h1("Hola mundo!")
)

Dependencies

Development Dependencies

ID Version
@types/node ^18.11.17
typescript ^4.9.4
Details
npm
2023-01-13 00:27:06 +00:00
23
Nulo
1.7 KiB
Assets (1)
Versions (5) View all
0.0.9 2023-03-31
0.0.8 2023-03-09
0.0.7 2023-01-12
0.0.2 2022-12-20
0.0.1 2022-12-20