Skip to content

Gives actualized value from alias or returns given alias

License

Notifications You must be signed in to change notification settings

kmccullough/alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alias

Gives actualized value from alias or returns given alias

Installation

$ npm install @kmccullough/alias

Usage

alias('prod', { production: 'prod' })   // Returns 'production'
alias('prod', { production: ['prod'] }) // Returns 'production'
alias({ production: 'prod' })('prod')   // Returns 'production'

License

MIT

About

Gives actualized value from alias or returns given alias

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published