Type definitions are available in the @types/define-properties package

define-properties

  • Version 1.2.1
  • Published
  • 12.9 kB
  • 3 dependencies
  • MIT license

Install

npm i define-properties
yarn add define-properties
pnpm add define-properties

Overview

Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in older engines.

Dependencies (3)

Dev Dependencies (9)

Peer Dependencies (0)

No peer dependencies.

Badge

To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/define-properties.

  • Markdown
    [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/define-properties)
  • HTML
    <a href="https://www.jsdocs.io/package/define-properties"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>