JSPM

xou-server

2.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 18
  • Score
    100M100P100Q26506F
  • License MIT

Xou on the server

Package Exports

  • xou-server
  • xou-server/raw

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (xou-server) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

XOU-SERVER

HTML-Template strings for the server.

This module has been exctracted from Nanohtml.

Install

$ npm install xou-server

Usage

const xouServer = require('xou-server');

const time = xouServer`<span>Time: ${ (new Date()).toUTCString() }</span>`;

License

MIT © Tobias Herber