Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
zen-observable-ts
Advanced tools
Readme
Thin wrapper around zen-observable
and @types/zen-observable
, to support ESM exports as well as CommonJS exports, with TypeScript types provided by @types/zen-observable
.
After installing zen-observable-ts
using a tool like npm or yarn, you can import the Observable
class by name:
import { Observable } from "zen-observable-ts";
Note that this package does not currently have a default export, so the {}
braces are mandatory.
This tiny wrapper package replaces an older version of zen-observable-ts
that used to provide TypeScript types for zen-observable
, before @types/zen-observable
was introduced. This version of the package is not intended to be perfectly compatible with the older version, so we have bumped the major version of the package to reflect the difference.
As explained in https://github.com/apollographql/apollo-client/pull/7615, the zen-observable-ts
package exists to fill a gap in the functionality of the zen-observable
package, so we will retire this package in favor of using zen-observable
directly, when/if this PR is ever merged.
FAQs
Thin wrapper around zen-observable and @types/zen-observable, to support ESM exports as well as CommonJS exports
The npm package zen-observable-ts receives a total of 3,781,362 weekly downloads. As such, zen-observable-ts popularity was classified as popular.
We found that zen-observable-ts demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.