Simple javaScript type conversion.
yarn add convert-string-to-type
yarn install convert-string-to-type
import { convert } from 'convert-string-to-type'
const number = convert('18') // => 18
const boolean = convert('true') // => true
const string = convert('string') // => 'string'