1.0.15 • Published 8 months ago

@vroskus/config-web v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@vroskus/config-web

Tool for preparing config.js file. It consumes process.env. and produces .js file with values.

Installation

Call:

npm install -D @vroskus/config-web

yarn add -D @vroskus/config-web

Usage

Just run config-web <input file path> <output file path> <start,end identifiers>

Default input file format:

const params: Array<keyof $Config> = [
  'PARAM',
  ...
];

If <start,end identifiers> is defined, the search pattern becomes:

<start>
  'PARAM',
  ...
<end>

Output file format:

var config = {
  PARAM: "VALUE", 
  ...
};
1.0.15

8 months ago

1.0.14

8 months ago

1.0.13

8 months ago

1.0.12

8 months ago

1.0.11

8 months ago

1.0.10

9 months ago

1.0.9

12 months ago

1.0.8

12 months ago

1.0.7

12 months ago

1.0.6

12 months ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago