envsubstr

0.0.1 • Public • Published

Modules

envsubstr

Small purposeful global npm module without dependencies.

Production

Use in production at your own risk.

Install

$ npm install -g envsubstr
envsubstrString

Replace matched value and return string.

envsubstr

Small purposeful global npm module without dependencies.

Production

Use in production at your own risk.

Install

$ npm install -g envsubstr

License: MIT
Example

$ echo "${USER}" | envsubstr

envsubstr ⇒ String

Replace matched value and return string.

Throws:

  • Error Environment variable not found.
Param Type
data String

Example

import parser from 'envsubstr';
parser('${USER}');

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i envsubstr

    Weekly Downloads

    21

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • henriklundgren