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

prop-change-decorators

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prop-change-decorators

[![NPM](https://img.shields.io/npm/v/prop-change-decorators)](https://www.npmjs.com/package/prop-change-decorators) ![License](https://img.shields.io/npm/l/prop-change-decorators)

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Prop Change Decorators

NPM License

Install

npm install prop-change-decorators

Install peer dependencies

npm install rxjs@7

Usage

import { Dispatcher, Clamp, ClampTarget } from 'prop-change-decorators';

class Entity {
	@Dispatcher()
	change$: ChangeDispatcher<Entity>;

	@Clamp({ name: 'numberValue' })
	private __numberValue__ = 5;
	numberValue: number;
	numberValueMin: number = 0;
	numberValueMax: number = 10;

	@ClampTarget({ name: 'numberValue' })
	private __numberValueTarget__: number = 8;
	numberValueTarget: number;
}

FAQs

Package last updated on 24 May 2023

Did you know?

Socket

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.

Install

Related posts

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