Socket
Socket
Sign inDemoInstall

angular-annotation-decorator

Package Overview
Dependencies
127
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    angular-annotation-decorator

ES7 decorator for adding $inject annotations for Angular 1.x


Version published
Weekly downloads
1
decreased by-66.67%
Maintainers
1
Install size
14.0 MB
Created
Weekly downloads
 

Readme

Source

angular-annotation-decorator Build Status

ES7 decorator for adding $inject annotations for Angular 1.x.

Installing

npm install angular-annotation-decorator

Usage

import {annotate} from 'angular-annotation-decorator';

@annotate('$http', '$q')
class MyService {
  constructor ($http, $q) {
    // 
  }
}

You'll need to use an ESNext transpiler like Babel and enable the experimental es7.decorators transformer.

Keywords

FAQs

Last updated on 09 Apr 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc