2.1.3 • Published 6 years ago

ng-sizer v2.1.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

ng-sizer

Measure the size of your AngularJS module.

Build Status ng-sizer

Usage

After everything is registered in your AngularJS module, simply call ngSizer() with the module as an argument and check your console.

import ngSizer from 'ng-sizer';

...

const app = angular.module('app', []);

app.controller('HomeCtrl', function () { ... });
app.service('apiService', function () { ... });

/*
 * Will log the following object to the console:
 *
 * {
 *   controllerCount: 1,
 *   serviceCount: 1
 * }
 *
 */
console.log(ngSizer(app));
2.1.3

6 years ago

2.0.0

6 years ago

1.0.0

6 years ago

0.3.0

6 years ago

0.2.0

6 years ago