Socket
Book a DemoInstallSign in
Socket

cluedin-rest

Package Overview
Dependencies
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cluedin-rest

CluedIn Rest project is the place where all the data access to the CluedIn API are done.

latest
npmnpm
Version
0.1.65
Version published
Maintainers
1
Created
Source

#cluedin-rest

CluedIn Rest project is the place where all the data access to the CluedIn API are done.

##How to install

npm install cluedin-rest

##Naming convention

Every service provided by this library are prefixed with '$C_'. This is to quickly identify when using the service that it comes fo the cluedin-rest package.

##How to use

You need to have angular in you page and after simply reference the file 'c.data.js' from the dist folder.

##How to execute the test

Checkout the code, install all the dependencies:

npm install

Build the file

gulp

Execute all the Test using Karma (integration testing using angularjs)

karma start angular.conf.js

You should be good to do.

##How to write a Test

Create a File and give it an appropriate fileName. When done, add a reference to id in the index.js file contained in the 'test' folder.

The test are created using Jasmine 2.0 and are mainly mid-ways tests as it actually hit the server.

FAQs

Package last updated on 06 Mar 2017

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