Socket
Book a DemoInstallSign in
Socket

@conclurer/defaults

Package Overview
Dependencies
Maintainers
6
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@conclurer/defaults

Default settings and configs for edelog.

unpublished
latest
Source
npmnpm
Version
0.1.0-beta.18
Version published
Maintainers
6
Created
Source

defaults

Getting default settings and configs for Edelog apps.

Installation

Add @conclurer/defaultsto your project.

With the defined method parsedDefaultsFor in methods you can get different Configs/Settings in a parsed format. Means if the value of the Setting/Config is 1 you will receive 1. With the defined method stringifiedDefaultsFor it is the same but instead of 1 you will receive "1".

- parsedDefaultsFor(String as DefaultType, Array<String as Visibility>)
- stringifiedDefaultsFor(String as DefaultType, Array<String as Visibility>)
DefaultTypeVisibility
"SystemConfig""public", "private", "internal"
"OrgSettings""public", "private", "internal"

Both methods return an object with the Settings/Configs selected through the parameters. Visibilities can be combined. For example parsedDefaultsFor("SystemConfig", ["private", "public"]) would return an object with all private and public Configs from SystemConfig (First all private then all public).

Documentation of all Configs and Settings

Documentation-Defaults

Contributing

Compiles and minifies for production

yarn run build

Run your unit tests

yarn run test:unit

FAQs

Package last updated on 29 Mar 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