Skip to main content
Home

Ad hoc (client) JavaScript from typed (server) code

This package works with DenoIt is unknown whether this package works with Cloudflare Workers, Node.js, Bun, Browsers
It is unknown whether this package works with Cloudflare Workers
It is unknown whether this package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
It is unknown whether this package works with Browsers
JSR Score
94%
Published
3 months ago (0.1.15)

default

Generate typed JS on the fly.

T
Fn
No documentation available
f
inline

Force expression to be inlined and not assigned in scope

f
isJSable

Checks whether an object is JSable

T
JS

A JSable proxy that reflects property access and function calls into intuitively related JS

v
js

Classic JS API

T
JSable

Object that can be generated to JS

T
JSMeta

Internal JSable configuration

N
JSOverrides

Userland configuration

I
JSOverrides.JS

Specific overrides for global JS

f
mkJS

Wraps a JSable into a JS proxy, giving access to convenient and typed JS manipulations

f
toJs

Generate JavaScript from JSable instructions or from a JSable expression

f
unsafe

Create a JSable expression which contains provided JavaScript

stringify

Convert serializable value to JavaScript

T
DirectlyStringifiable

A non-primitive native object value that is stringifiable

f
isDirectlyStringifiable

Check wheteher an object is a plain stringifiable object without needing to recurse

T
Stringifiable

A value that can be converted to a JavaScript expression

f
stringify

Converts a JavaScript value to a JavaScript expression string

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.