@kingjs/js
v1.0.20
Published
js
Downloads
14
Readme
@kingjs/js Library
Here is a blurb describing the impetus for the library.
APIs
mapDescriptors
: A function for transforming Javascript object literals.
For example, compiling (transforming) a Domain Specific Languages grafted on top of Javascript object literal syntax into Javascript classes.
defineProperty wrappers
: A function for transforming Javascript object literals.
Functions for creating property descriptors with a given configuration specific for that type. For example, defineHiddenAccessor
creates a non-enumerable, non-configurable property with a get
accessor.