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

restaf

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

restaf

Library for writing SAS Viya application using REST APIs

  • 1.5.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

restAF - Making development of Viya Apps a snap

restAF is a small library to do the following:

  • Provide an easy-to-use API to accomplish the following:
    • UI framework agnostics
    • Manage connections to a Viya Server
    • Manage and execute links returned by the REST calls using a simple API
    • Provides a UMD library for use with browser-based apps
    • Can also be used in nodejs applications

Install

Install from the npm registry

npm install restaf

Install from repo

npm install https://github.com/sassoftware/restaf

UMD

Use the following url's to get UMD version.

unpkg.com/restaf/restaf.min.js

##To build the library locally

Clone the repository and do the npm install

git clone https://github.com/sassoftware/restaf
npm install

To build all the versions do the following

cd restaf
npm run build

This will build the nodejs library in the lib directory and the UMD libraries in dist directory

##Documentation Please see the doc.md in this repository.

Trying it out

  1. Make a copy of restaf.env file to some directory (for the purpose of this document we will assume you named is myenv.env)
  2. Edit myenv.env as instructed in the file.
  3. Run the demos in the examples directory as follows:
node examples\<examplename> <path to myenv>
ex:
node examples/logon ../myenv.env

Other examples using restAF

restaf-uidemos repository

restaf-uidemos Clone the restaf-uidemos repository to see how to use restAF in web applications.

restaf-apiexplorer repository

restaf-apiexplorer Clone the restaf-apiexplorer repository and explore the SAS APIs interactively. This is a good example of how to build complex applications with relative ease using restAF.

Keywords

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