1.0.13 • Published 6 years ago
@kingjs/descriptor.object v1.0.13
@kingjs/descriptor.object
Exports all @kingjs/descriptor.object.*
functionality in one package.
Usage
var descriptor = require('@kingjs/descriptor.object');
Packages
The functions clone
, remove
, and write
will not re-freeze descriptors before returning them and should be used to implement descriptor transforms. The functions prolog
and epilog
should be used by descriptor transforms to assert the precondition that the descriptor is frozen, and establish the postcondition that the descriptor is frozen by calling freeze
on any thawed descriptor returned by clone
, remove
, and/or write
.
Install
With npm installed, run
$ npm install @kingjs/descriptor.object
License
MIT
1.0.13
6 years ago