Welcome to ngCommerce! ===================


001.5.204 years ago4 years agoMinified + gzip package size for @ngcommerce/core in KB


Welcome to ngCommerce!


  1. Install the npm package.

    npm install @ngcommerce/core --save
  2. Import EcommerceCoreModule in your application and use forRoot('apiURL') to choose your apiURL :

    import { NgModule }            from '@angular/core';
    import { EcommerceCoreModule } from "@ngcommerce/core";
        imports: [EcommerceCoreModule.forRoot('http://test/api/') ]
    export class AppModule { } 


Inject the CorService service anywhere you need it and use it like it's alert :

export class MyComponent(){

    constructor(private service: CorService){


The service offer a sub-list of window.console capacities :

NPM Step

npm run bundle

npm publish --access=public

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.