hjson-dsf-regex
0.0.3 • Public • Published HJSON Regex DSF
Parse slash-delimited regexes in HJSON as RegExp
Usage
const util = require('util')
const hjson = require('hjson')
const regexDsf = require('hjson-dsf-regex')
const data = `myre: /^\\d+/`
const parsed = hjson.parse(data, {dsf:[regexDsf()]})
console.log(util.inspect(parsed))
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.3
0
Version History
Package Sidebar
Install
Weekly Downloads