@kingjs/js

js

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
04Jun 21, 2021Jul 20, 2018Minified + gzip package size for @kingjs/js in KB

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.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.