New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

transfuser

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

transfuser

Fetching and combining the essential configurations needed for your server/application

latest
Source
npmnpm
Version
0.2.7
Version published
Weekly downloads
8
100%
Maintainers
1
Weekly downloads
 
Created
Source

Transfuser - Will save your life!

Features

  • Sync and Async loading
  • Supports JSON and JS file types

Features on the horizon

  • Fetch configs from http/https
  • More file types (INI, XML...)
  • Auto Load Service Configs
    • AWS BeanStalk configs
    • Heroku
    • ...
  • Add Examples
  • Add Tests
  • Add TravisCI

Transfuser(options)

The first argument is an Object. The all options have defaults.

  • basePath - A String used to when getting current path $. Default: process.cwd().

Transfuser.load(files)

The first argument is a string or array of file(s) to load. If the file starts with a special character it will replace that character with the corresponding value below

  • ~ - Current user home directory.
  • $ - Current basePath (Default: process.cwd()) directory.

Examples

  • Basic example

License

MIT: Full license »

Keywords

transfuser

FAQs

Package last updated on 01 Feb 2018

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