nonenumerable
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

nonenumerable Build status

Decorator to make properties non-enumerable.

Usage

Ensure you have decorators support in your environment. For TypeScript, add "experimentalDecorators": true in your tsconfig.json. For Babel, configure the syntax-decorator plugin.

import { nonenumerable } from "nonenumerable";
 
class MyClass {
    @nonenumerable
    property = 5;
}

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.1
    1,330
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.1
    1,330
  • 1.1.0
    2
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i nonenumerable

Weekly Downloads

1,332

Version

1.1.1

License

MIT

Last publish

Collaborators

  • endel