Skip to content

Ansyn Package

Tzahi Levi edited this page Dec 29, 2019 · 9 revisions

Install

npm i @ansyn/ansyn

The @ansyn/ansyn package, is the core of our application. Ansyn app comes with a built-in coniguration that we can change in 2 ways:

  1. By changing the configuration inside confd/templates/production.tmpl file
  2. By creating an object that overrides our config and pass it to fetchConfigProviders function before the app loading.
    configuration that can be changed

AnsynApi

Ansyn provides us with the injectible AnsynApi service, this service provide us a simple way to manipulate the Ansyn component. read more about the AnsynApi functions.