@kingjs/js

1.0.20 • Public • Published

@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.

/@kingjs/js/

    Package Sidebar

    Install

    npm i @kingjs/js

    Weekly Downloads

    0

    Version

    1.0.20

    License

    MIT

    Unpacked Size

    41.8 kB

    Total Files

    19

    Last publish

    Collaborators

    • kingces95