romantic
Extract variables from string.
Install
$ npm install --save romantic
Usage
const Romantic = const romantic = const result = romantic// => {// name: 'egoist',// age: '21.4'// } // define a custom regex pattern to match variablesconst romantic = /your regex/g
License
MIT © EGOIST