UNPKG

auto-parse

Version:

Automatically convert any value to its best matching JavaScript type. Supports numbers, booleans, objects, arrays, BigInt, Symbol, comma-separated numbers, prefix stripping, allowed type enforcement and a plugin API.

4 lines (3 loc) 93 B
import autoParse from './index.js' export default autoParse export const use = autoParse.use