js-html-renderer
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"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) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
666136
0