Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
ano-config
Advanced tools
Readme
The Ano config (
.anorc
) reader and writer.
The config spec can be read here.
$ npm install --save ano-config
Loads the ano configuration from the configuration files.
Configuration is overwritten (after camelcase normalisation) with overwrites
argument.
This method overwrites following environment variables:
HTTP_PROXY
with proxy
configuration variableHTTPS_PROXY
with https-proxy
configuration variableNO_PROXY
with no-proxy
configuration variableIt also clears http_proxy
, https_proxy
, and no_proxy
environment variables.
To restore those variables you can use restore
method.
Restores environment variables overwritten by .load
method.
Returns a deep copy of the underlying configuration object. The returned configuration is normalised. The object keys will be camelCase.
Obtains a instance where cwd
is the current working directory (defaults to process.cwd
);
var config = require('ano-config').create();
// You can also specify a working directory
var config2 = require('ano-config').create('./some/path');
Alias for:
var configObject = (new Config(cwd)).load(overrides).toJson();
Released under the MIT License.
FAQs
The Bower config reader and writer.
The npm package ano-config receives a total of 3 weekly downloads. As such, ano-config popularity was classified as not popular.
We found that ano-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.