🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

confinode

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

confinode

Node application configuration reader

2.1.1
latest
Source
npm
Version published
Weekly downloads
15K
11.45%
Maintainers
1
Weekly downloads
 
Created
Source

npm package License Build Status Coverage Status Issues

confinode - Node.js application configuration management

This package provides a library whose purpose is to be a standard and universal configuration file manager for Node.js applications. Its main features are:

  • synchronous or asynchronous… or both;
  • file system access cache;
  • appropriate configuration file searching;
  • configuration file loading, based on its name or on a module name;
  • a lot of file type supported (out-of-the-box support for JavaScript, JSON, YAML, support for other types if appropriate modules can be loaded);
  • indirection management (if configuration is a string, it is the real path to the file to load);
  • inheritance management (a configuration can extend another one);
  • configuration analysis and errors control;
  • for TypeScript users, fully typed, including the configuration itself.

Language/langue

Because Slune is French firm, you will find all documents and messages in French. Other translations are welcome.

Anyway, because English is the language of programming, the code, including variable names and comments, are in English.

:fr: Une version française de ce document se trouve ici.

Installation

Installation is done using npm install command:

$ npm install --save confinode

If you prefer using yarn:

$ yarn add confinode

Usage

Choose your manual:

  • Node.js application developers, you will be interested in the developer manual;
  • final user of an application including confinode, you will be interested in the user manual.

Issues, questions, contributions

Even though we cannot guarantee a response time, please feel free to file an issue if you have any question or problem using the package. Pull Requests are also welcome.

Keywords

node

FAQs

Package last updated on 06 Mar 2020

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