@tknf/fsyaml
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@tknf/fsyaml

Load and parse yaml file with environment variables

To get started, open a new shell and run:

npm install --save @tknf/fsyaml
# or
yarn add @tknf/fsyaml

Getting started

usage:

development:
  port: "3000"
  host: "127.0.0.1"
const fsyaml = require("@tknf/fsyaml");

const config = fsyaml.load("config.yaml");
console.log(config);
/**
 * {
 *   "development": {
 *     "port": 3000,
 *     "host": 127.0.0.1
 *   }
 * }
 */

/@tknf/fsyaml/

    Package Sidebar

    Install

    npm i @tknf/fsyaml

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    14.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • mast1ff