1.0.1-b • Published 2 years ago

@deala/ngx-utils-cookies-port v1.0.1-b

Weekly downloads
-
License
-
Repository
github
Last release
2 years ago

ngx-utils-cookies-port

This library is is port of @ngx-utils/cookies. It was created because original library does not support new Angular 9.

We use this module at Deala.com to handle cookie issues.

Once the original library is updated to new version, this library will be marked as deprecated.

Installation

npm install ngx-utils-cookies-port --save

Usage

Follow original documentation.

Differences from original library

  • compatible with Angular version >= 9.0.0
  • created as real Angular library

Importing modules

The only difference is the way how modules and services are imported.

// original library: 
import { BrowserCookiesModule } from '@ngx-utils/cookies/browser';
import { CookiesService } from "@ngx-utils/cookies";

// new: 
import {BrowserCookiesModule} from 'ngx-utils-cookies-port';
import {CookiesService} from 'ngx-utils-cookies-port';

Disclaimer

I'm not the original author of the library nor the source code. The source code was taken (almost unmodified) from @ngx-utils/cookies.