0.0.2 • Published 9 years ago

el-cli-environment v0.0.2

Weekly downloads
7
License
-
Repository
github
Last release
9 years ago

Worksignal Element: el-cli-environment

What is Worksignal

Worksignal is a business platform which accepts adding components from npm website. Worksignal form elements will be open source plus those created by third parties.

What is this package?

This package contains CliEnvironment class to return the application settings/variables usually defined within a file called environment.ts, compatible with all projects using angular-cli. The class is used in Worksignal project but can be used in any other cli-based project as well. Please check our repository for the full source code of ws-elements project.

How to import it

use this command to import el-cli-environment into your project

npm instal el-cli-environment

To use it in your project import the component like this:

import { CliEnvironment } from 'el-cli-environment';

Then you can call a method to get the environment object with all variables inside it:

let environment = cliEnvironment.getEnvironmentVariables();
0.0.2

9 years ago

0.0.1

9 years ago