Comparing version 0.3.2 to 0.4.0
@@ -5,3 +5,3 @@ { | ||
"author": "Damon Oehlman <damon.oehlman@gmail.com>", | ||
"version": "0.3.2", | ||
"version": "0.4.0", | ||
"dependencies": {}, | ||
@@ -8,0 +8,0 @@ "devDependencies": { |
@@ -89,2 +89,15 @@ # cog | ||
## cog/jsonparse | ||
```js | ||
var jsonparse = require('cog/jsonparse'); | ||
``` | ||
### jsonparse(input) | ||
This function will attempt to automatically detect stringified JSON, and | ||
when detected will parse into JSON objects. The function looks for strings | ||
that look and smell like stringified JSON, and if found attempts to | ||
`JSON.parse` the input into a valid object. | ||
## cog/listen | ||
@@ -91,0 +104,0 @@ |
require('./defaults'); | ||
require('./extend'); | ||
require('./listen'); | ||
require('./logger'); | ||
require('./logger'); | ||
require('./jsonparse'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27514
22
567
259