@n7e/json-configuration-source
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

JSON Configuration Source

A JSON file configuration source for @n7e/configuration.

For further insights, read on.

Installation

To install this library use your favorite package manager. No additional steps are required to start using the library.

npm install @n7e/json-configuration-source

This library is implemented in TypeScript but can be used with JavaScript without any additional steps.

Usage

To use this configuration source simply pass an absolute file path to the constructor. No further configuration is needed nor available.

import { JsonConfigurationSource } from "@n7e/json-configuration-source";

configurationBuilder.addConfigurationSource(new JsonConfigurationSource("/path/to/file.json"));

Package Sidebar

Install

npm i @n7e/json-configuration-source

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

4.7 kB

Total Files

8

Last publish

Collaborators

  • martin-n7e