Skip to main content

@lithen/fns@4.2.2

latest

Functions to use with html and css to create simple and powerful UI elements. Its part of Lithen modules. It works alone but is created to use with Web Components.

This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Deno, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
It is unknown whether this package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
100%
Published
2 months ago (4.2.2)
class DataSignalRecord

A class that represents an object that is a group of DataSignals. It will make a swallow copy of the object passed as argument to it. The copy is swallow, so it will not cycle through nested objects to make them DataSignalRecords too. But if the value of some field of the object already is a DataSignal or DataSignalRecord it just leave the value as it is.

Constructors

new
DataSignalRecord(obj: T)

Type Parameters

T extends Record<string, unknown>

Add Package

deno add jsr:@lithen/fns

Import symbol

import { DataSignalRecord } from "@lithen/fns";

---- OR ----

Import directly with a jsr specifier

import { DataSignalRecord } from "jsr:@lithen/fns";

Add Package

npx jsr add @lithen/fns

Import symbol

import { DataSignalRecord } from "@lithen/fns";

Add Package

yarn dlx jsr add @lithen/fns

Import symbol

import { DataSignalRecord } from "@lithen/fns";

Add Package

pnpm dlx jsr add @lithen/fns

Import symbol

import { DataSignalRecord } from "@lithen/fns";

Add Package

bunx jsr add @lithen/fns

Import symbol

import { DataSignalRecord } from "@lithen/fns";