GithubHelp home page GithubHelp logo

iainjreid / ng-decorators-utils Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 360 KB

๐Ÿ”ง AngularJS utilities using decorators

Home Page: https://iainreid820.github.io/ng-decorators-utils/

JavaScript 100.00%
angular javascript utility decorators

ng-decorators-utils's Introduction

Angular Decorators Utilities

A small library containing utilities for AngularJS applications supplied as decorators

npm

Contents

Notes

Because this module utilises and exposes ECMAScript future features (expected to be ES8 at time of writing), you as a developer must be using a transpiler such as Babel to use this module. If you are unfamiliar with transpilers, pay particular attention to the final stages of the installation details in this readme.

Installation

Currently this library is available through NPM. Copy and paste the following into your terminal to include the module in your project:

npm install ng-decorators-utils --save

To use this module as designed you must have either Babel or another transpiler available to compile your source code into a browser friendly distribution prior to runtime.

Babel is currently the most popular choice when it comes to transpilers, however, due to restrictions in Babel 6, to use the module fully you must also include the decorators transform that can be found here.

Include Babel, and the relevant transforms in your project by running the following:

npm install babel-cli babel-preset-es2015 babel-plugin-transform-decorators-legacy --save-dev

And ensure that you include the decorators transform in your Babel configuration:

{
    "plugins": ["transform-decorators-legacy"]
}

ng-decorators-utils's People

Contributors

iainjreid avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.