find-me-value

Find a value in a string by a key

Usage no npm install needed!

<script type="module">
  import findMeValue from 'https://cdn.skypack.dev/find-me-value';
</script>

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