ngx-verify-is-server-side
v0.0.7
Published
A simple package to make a verification if is Server Side and optmize the server responsabiliites.
Downloads
4
Readme
NgxVerifyIsServerSide
A simple package to make a verification if is Server Side and optmize the server responsabiliites.
Prerequisites
Angualr version: ^13.0.0
How to Use
- Install
npm i ngx-verify-is-server-side
- Import the service in your
component.ts
file.
constructor(
private _verifyServerSide: NgxVerifyIsServerSideService
) { }
- Make the verification
yourMethod(): void {
if(this._verifyServerSide.isServerSide){
return;
}
...
}