@popeindustries/lit-html-server

v1.0.0-rc.1
Render lit-html templates on the server
html template lit-html stream streaming tagged template literal template

lint

eslint './{directives,lib,test}/**/*.js'

perf

node test/server.js & PID=$!; autocannon -c 100 -d 5 -p 10 http://localhost:3000 && kill $PID

test

NODE_ENV=test mocha "test/*-test.js" --reporter spec --bail --timeout 2000 --require esm

build

rm -rf ./index.js ./directives/*.js && rollup --config rollup.config.js

format

prettier --write './{directives,lib,test}/**/*.{js,json}'

precommit

lint-staged

prepublishOnly

npm run build
npm i @popeindustries/[email protected]

Metadata

  • MIT
  • >=10
  • Alexander Pope
  • released 1/23/2019

Downloads

Maintainers