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

refract-preact-xstream

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

refract-preact-xstream - npm Package Compare versions

Comparing version 1.0.0-0 to 1.0.0-1

4

package.json
{
"name": "refract-preact-xstream",
"version": "1.0.0-0",
"version": "1.0.0-1",
"main": "index.js",

@@ -12,4 +12,4 @@ "jsnext:main": "index.es.js",

"preact": "^8.0.0",
"xstream": ">= 1.0.0 < 12.0.0"
"xstream": ">= 11.3.0 < 12.0.0"
}
}

@@ -15,3 +15,3 @@ <p align="center">

<a href="#the-gist"><strong>The gist</strong></a> ·
<a href="#documentation"><strong>Learn</strong></a> ·
<a href="#learn-refract"><strong>Learn</strong></a> ·
<a href="#contributing"><strong>Contribute</strong></a> ·

@@ -125,8 +125,14 @@ <a href="#discuss"><strong>Discuss</strong></a>

# Documentation
# Learn Refract
_Links through to docs sub-pages._
## Documentation
# Examples
Documentation is available at [refract.js.org](https://refract.js.org). We aim to provide a helpful and thorough documentation: all documentation files are located on this repo and we welcome any pull request helping us achieve that goal.
## Examples
We maintain and will grow over time a set of examples to illustrate the potential of Refract, as well as providing reactive programming examples: [refract.js.org/examples](https://refract.js.org/examples).
Examples are illustrative and not the idiomatic way to use Refract. Each example is available for the four reactive libraries we support (RxJS, xstream, Most and Callbag), and we provide links to run the code live on [codesandbox.io](https://codesandbox.io). All examples are hosted on this repo, and we welcome pull requests helping us maintaining them.
# Contributing

@@ -133,0 +139,0 @@

@@ -1,2 +0,2 @@

import xs, { Stream, Listener, Subscription } from 'xstream'
import { Stream, Listener, Subscription } from 'xstream'
export { Listener, Subscription }

@@ -13,6 +13,6 @@ export interface ObservableComponent {

export declare const subscribeToSink: <T>(
sink: xs<T>,
sink: Stream<T>,
next: (val: T) => void,
error?: (error: any) => void
) => Subscription
export declare const createObservable: <T>(subscribe: any) => xs<T>
export declare const createObservable: <T>(subscribe: any) => Stream<T>
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