You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

confinode

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
c

confinode

Node application configuration reader

2.1.1
latest
91

Supply Chain Security

100

Vulnerability

87

Quality

76

Maintenance

100

License

Version published
Weekly downloads
16K
45.21%
Maintainers
1
Weekly downloads
 
Created
Issues
0

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.

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