+4
-0
@@ -44,2 +44,6 @@ const isostring = require('isostring') | ||
| // Infinity and NaN | ||
| if(value === 'Infinity') return Infinity | ||
| if(value === 'NaN') return NaN | ||
| // RegExp | ||
@@ -46,0 +50,0 @@ if(value.match(regexpRegex)) return RegExp(value) |
+1
-1
| { | ||
| "name": "string2js", | ||
| "version": "0.1.1", | ||
| "version": "0.2.0", | ||
| "description": "Create Javascript objects and primitives from their string representation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3675
2.77%54
5.88%