
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@kwasniew/hyperapp-fx
Advanced tools
A handy set of effects for use with Hyperapp.
Here's a taste of how to use a common effect for making HTTP requests. The app displays inspiring quotes about design, fetching a new quote each time the user clicks on the current one. Go ahead and try it online here.
import { h, app } from "hyperapp"
import { Http } from "hyperapp-fx"
const GetQuote = () => [
"...",
Http({
url:
"https://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1",
action: (_, [{ content }]) => content
})
]
app({
init: "Click here for quotes",
view: quote => <h1 onclick={GetQuote}>{quote}</h1>,
container: document.body
})
More examples are available to show other effects in action.
npm i hyperapp-fx@next
Then with a module bundler like Rollup or Webpack, use as you would anything else.
import { Http } from "hyperapp-fx"
If you don't want to set up a build environment, you can download Hyperapp FX from a CDN like unpkg.com and it will be globally available through the window.hyperappFx object. We support all ES5-compliant browsers, including Internet Explorer 10 and above. Use of the Http
effect requires a polyfill.
<script src="https://unpkg.com/hyperapp-fx@next"></script>
Hyperapp FX is MIT licensed. See LICENSE.
FAQs
Effects for use with Hyperapp
The npm package @kwasniew/hyperapp-fx receives a total of 0 weekly downloads. As such, @kwasniew/hyperapp-fx popularity was classified as not popular.
We found that @kwasniew/hyperapp-fx demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.