{"library":"core-decorators","type":"library","category":null,"description":"Library of JavaScript stage-0 decorators (ES2016/ES7 proposal) inspired by Java annotations, providing commonly used decorators like @override, @deprecate, @autobind, @mixin, @readonly, @nonconfigurable, @decorate, @extendDescriptor, @time, @deprecated, @suppressWarnings. Current stable version is 0.20.0. This library targets the original stage-0 decorator proposal (not the current stage-2 spec) and is intended for use with Babel 5 or Babel 6 with babel-plugin-transform-decorators-legacy. Key differentiator: lightweight, focused on fundamental JavaScript decorators, framework-agnostic (React, Angular, etc.). TypeScript definitions are included but there are known incompatibilities with TypeScript's decorator implementation. Similar to lodash-decorators but more minimal. Release cadence is low (last release 0.20.0 in 2020).","language":"javascript","status":"maintenance","version":"0.20.0","tags":["javascript","es6","es7","es2015","es2016","babel","decorators","override","deprecated","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install core-decorators","imports":["import coreDecorators from 'core-decorators'","import { autobind } from 'core-decorators'","import { readonly } from 'core-decorators'","import { override } from 'core-decorators'"]},{"cmd":"yarn add core-decorators","imports":[]},{"cmd":"pnpm add core-decorators","imports":[]}],"homepage":null,"github":"https://github.com/jayphelps/core-decorators.js","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/core-decorators","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}