@wansproject/properties

Properties utility functions for ethers.

Usage no npm install needed!

<script type="module">
  import wansprojectProperties from 'https://cdn.skypack.dev/@wansproject/properties';
</script>

README

Property Utilities

This sub-module is part of the ethers project.

It contains several useful utility methods for managing simple objects with defined properties.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    defineReadOnly,

    getStatic,

    resolveProperties,
    checkProperties,

    shallowCopy,
    deepCopy,

    Description,

    // Types

    Deferrable

} = require("@wansproject/properties");

License

MIT License