Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sss-core-lib

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sss-core-lib

This package is used to interact with the cloud service.

  • 0.0.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Description

This package is used to interact with the cloud service.

The service allows you to store data in the cloud about the user, groups, authorizations and other data necessary for any site.

It is also possible to create and edit data collections, which can be of any structure.

Send notification email through our cloud service.

Install

npm i sss-core-lib --save

#Usage

Add SssCoreModule into your app.module.ts

import { SssCoreModule } from "sss-core-lib";

@NgModule({
  imports: [SssCoreModule],
})

Component example:

import { Component, OnInit } from '@angular/core';
import { AuthService, ILogin, UserService, IUser } from 'sss-core-lib';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.sass']
})
export class AppComponent implements OnInit {

  constructor(
    private authService: AuthService,
    private userService: UserService
  ) { }

  ngOnInit(): void {
    this.authService.login('username', 'password').subscribe((login: ILogin) => {
      this.userService.get().subscribe((users: IUser[]) => {
        console.log(users);
      });
    });
  }
}

FAQs

Package last updated on 17 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc