
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@diesdasdigital/hyperapp-html
Advanced tools
NOTE: This is a fork of Swizz/hyperapp-html to provide better types for Typescript:
VNode
as childrenHtml helper functions for Hyperapp. Use @diesdasdigital/hyperapp-html as an alternative to JSX or the hyperapp.h function.
yarn add @diesdasdigital/hyperapp-html
Here is a counter that can be incremented or decremented. Go ahead and try it online.
import { h, app } from "hyperapp"
import { div, h1, button } from "@diesdasdigital/hyperapp-html"
const state = {
count: 0
}
const actions = {
down: () => state => ({ count: state.count - 1 }),
up: () => state => ({ count: state.count + 1 })
}
const view = (state, actions) =>
div([
h1(state.count),
button({ onclick: actions.down }, "-"),
button({ onclick: actions.up }, "+")
])
app(state, actions, view, document.body)
See /vars.json for the list of available Html tags you can use in your program.
@diesdasdigital/hyperapp-html is MIT licensed. See LICENSE.
FAQs
Html helper functions for Hyperapp.
The npm package @diesdasdigital/hyperapp-html receives a total of 0 weekly downloads. As such, @diesdasdigital/hyperapp-html popularity was classified as not popular.
We found that @diesdasdigital/hyperapp-html demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.