@quenty/valueobject

13.3.0 • Public • Published

ValueObject

To work like value objects in Roblox and track a single item with .Changed events. The motivation here is to keep it simple to work with an encapsulated value. Instead of exposing an IPropertyChanged interface like C# might do, we instead expose objects with .Changed that are encapsulated within the object in question.

Installation

npm install @quenty/valueobject --save

Features

  • Battle tested
  • Can take in a default value
  • Automatically fires with a maid that exists for the lifetime of the value

Dependencies (7)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @quenty/valueobject

    Weekly Downloads

    27

    Version

    13.3.0

    License

    MIT

    Unpacked Size

    29.1 kB

    Total Files

    9

    Last publish

    Collaborators

    • quenty