New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

js-html-renderer

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-html-renderer - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "js-html-renderer",
"version": "0.1.0",
"version": "0.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -41,3 +41,3 @@ # JS HTML Renderer

## Table of Contents
## Table of contents

@@ -47,4 +47,4 @@ - [Installation](#installation)

- [Performance](#performance)
- [Custom HTML Tags](#custom-html-tags)
- [Hello, World! Example](#hello-world-example)
- [Custom HTML tags](#custom-html-tags)
- [Hello, World! example](#hello-world-example)
- [Support](#support)

@@ -62,3 +62,3 @@

### Instructions
### Implement the `index.ts` module

@@ -182,7 +182,7 @@ #### Import typings and relevant tags.

## Custom HTML Tags
## Custom HTML tags
Custom HTML tags can be created by binding the name of the tag to the first argument of the Renderer's sigil function. The resulting HTML tag can be used as a [Custom Element](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements).
### How to Create a Custom HTML Tag
### How to create a custom HTML tag

@@ -215,9 +215,9 @@ #### Import the Renderer's sigil function for creating custom HTML tags.

## "Hello, World!" Example
## "Hello, World!" example
In this hypothetical example you will create a multi-lingual Greeter application. You will create an HTTP server that listens on port 3000 and serves dynamic content that contains greetings from around the world. Please see the [Hello, World!](https://github.com/faranalytics/js-html-renderer/tree/main/examples/hello_world) example for a working implementation.
### Instructions
### Implement the `index.ts` module
#### Import the dependecies:
#### Import the dependecies.

@@ -508,4 +508,4 @@ - Node's native HTTP server

If you have a feature request or run into any issues, feel free to submit an [issue](https://github.com/faranalytics/js-html-renderer/issues) or start a [discussion](https://github.com/faranalytics/js-html-renderer/discussions). You’re also welcome to reach out directly to one of the authors at any time.
If you have a feature request or run into any issues, feel free to submit an [issue](https://github.com/faranalytics/js-html-renderer/issues) or start a [discussion](https://github.com/faranalytics/js-html-renderer/discussions). You’re also welcome to reach out directly to one of the authors.
- [Adam Patterson](https://github.com/adamjpatterson)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc