Socket
Socket
Sign inDemoInstall

logfmt

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

logfmt - npm Package Compare versions

Comparing version 0.5.1 to 0.6.0

6

package.json
{
"name": "logfmt",
"version": "0.5.1",
"version": "0.6.0",
"description": "Key-Value log line parser",

@@ -10,2 +10,6 @@ "main": "logfmt.js",

"bin": { "logfmt": "./bin/logfmt" },
"dependencies" : {
"split" : "*",
"through" : "*"
},
"devDependencies" : {

@@ -12,0 +16,0 @@ "express" : "3.*",

8

README.md

@@ -60,5 +60,5 @@ # node-logfmt

```javascript
var logfmt = require('logfmt-body-parser');
var logfmt = require('logfmt');
app.use(logfmt());
app.use(logfmt.bodyParser());

@@ -103,5 +103,1 @@ // req.body is now an array of objects

{ "foo": "bar", "a": 14, "baz": "hello kitty", "cool%story": "bro", "f": true, "%^asdf": true }
## caveats
I use a regex and haven't optimized much for performance yet.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc