find-me-value
v1.0.0
Published
Find a value in a string by a key
Downloads
1
Readme
find-me-value
Install
$ npm install find-me-value
or
$ yarn add find-me-value
Usage
const findMeValue = require('find-me-value')
findMeValue('Module Version: v1.0.0', 'Module Version')
//=> v1.0.0
findMeValue('Foo-Bar: Anything', 'Foo-Bar')
//=> Anything
License
MIT