Skip to content
This repository was archived by the owner on Feb 23, 2020. It is now read-only.

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rc-typed

CircleCI

rc package integrated with parse-strings-in-object and correct type preservation

this is a drop-in replacement for rc package with the following additions:

  1. recursive type parsing and type preservation (so environment variables passed have the correct type in JS)
  2. fixed jsdoc of the main rc function so vscode shows the correct path in intellisense

this is mainly here because I refuse to copy paste this logic in my projects from now on!

usage

npm install --save @rootstream/typed-rc
// replace:
const config = require('rc')('name', {...})
// with:
const config = require('@rootstream/typed-rc')('name', {...})

About

rc package integrated with parse-strings-in-object and correct type preservation

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages