Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyperscript

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperscript - npm Package Compare versions

Comparing version 1.4.5 to 1.4.6

2

package.json
{
"name": "hyperscript",
"version": "1.4.5",
"version": "1.4.6",
"homepage": "https://github.com/dominictarr/hyperscript",

@@ -5,0 +5,0 @@ "repository": {

@@ -26,6 +26,6 @@ # HyperScript

h('h2', 'content title', { style: {'background-color': '#f22'} }),
h('p',
h('p',
"so it's just like a templating engine,\n",
"but easy to use inline with javascript\n"),
h('p',
h('p',
"the intension is for this to be used to create\n",

@@ -83,3 +83,3 @@ "reusable, interactive html widgets. "))

var h = require('hyperscript')
h('a', {href: '#',
h('a', {href: '#',
onclick: function (e) {

@@ -140,3 +140,3 @@ alert('you are 1,000,000th visitor!')

Object.keys(obj).map(function (k) {
return h('tr',
return h('tr',
h('th', k),

@@ -158,3 +158,3 @@ h('td', obj[k])

text('click here to win a prize')
h('a', {href: '#',
h('a', {href: '#',
onclick: function (e) {

@@ -176,2 +176,3 @@ text('you are 1,000,000th visitor!')

* [html2hscript.herokuapp.com](http://html2hscript.herokuapp.com/) - Online Tool that converts html snippets to hyperscript
* [html2hyperscript](https://github.com/unframework/html2hyperscript) - Original commandline utility to convert legacy HTML markup into hyperscript

@@ -178,0 +179,0 @@ ## License

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