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

define-properties

  • Version 1.1.3
  • Published
  • 23 kB
  • 1 dependency
  • 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 (1)

Dev Dependencies (6)

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>