UNPKG

vretriever

Version:
17 lines (10 loc) 422 B
# vretriever Retrieves a value. ```js const vretriever = require('vretriever') console.log(vretriever.retrieve(1)) // 1 console.log(vretriever.retrieve("foo")) // 'foo' console.log(vretriever.retrieve()) // undefined ``` We recommend the higher level [identity](https://github.com/enterprise-npm-ai/identityjs) library instead. Another alternative is [vvalue](https://ghub.io/vvalue) ## Mit Licenced