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

ng-jexia

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-jexia

[![CircleCI](https://circleci.com/gh/jexia/ng-jexia.svg?style=svg)](https://circleci.com/gh/jexia/ng-jexia)

  • 1.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9
increased by800%
Maintainers
1
Weekly downloads
 
Created
Source

NgJexia

CircleCI

The official library to use Jexia with Angular

Install

Install this package along with Jexia JavaScript JDK:

npm install ng-jexia jexia-sdk-js --save

Quick Start

Open app.module.ts, import the Jexia module and specify your dataset configuration:

import { NgJexiaModule, DataOperationsModule } from 'ng-jexia';

@NgModule({
  imports: [
    BrowserModule,
    NgJexiaModule.initialize({
      ...environment.jexiaConfig,
      providers: [
        DataOperationsModule,
      ],
    })
  ],
  declarations: [ AppComponent ],
  bootstrap: [ AppComponent ]
})
export class AppModule {}

Use our service to access and manipulate your datasets.

import { Component } from '@angular/core';
import { DataOperations } from 'ng-jexia';

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

  userDataset = this.dataOperations.dataset<User>('myusers');
  users = this.userDataset.select().execute();

  constructor(
    private dataOperations: DataOperations,
  ) {}
}

Then use it on your template:

<pre>
  data: {{ data | async | json }}
</pre>

Developer Guide

Example app

You can find runnable the code at this repository on apps/example, use your own credentials at the app.module.ts, and run the whole application it with npm start command at the root of this project.

Api Docs

Check out the ng-jexia docs and the JavaScript SDK Docs for a detailed view of the Api of both this Angular adapter and the original JavaScript SDK.

Contributing

You can find all the steps at the Contributing Guide.

License

MIT

FAQs

Package last updated on 06 Jun 2018

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