Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

common-log-format

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

common-log-format - npm Package Compare versions

Comparing version 0.1.4 to 1.0.0

index.js

5

bin/cli.js
#!/usr/bin/env node
"use strict";
var clf = require("../");
const clf = require('../')
process.stdin.pipe(clf()).pipe(process.stdout);
process.stdin.pipe(clf()).pipe(process.stdout)

16

package.json
{
"name": "common-log-format",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "0.1.4",
"version": "1.0.0",
"description": "Transform web logs (common log format) to JSON",
"repository": "https://github.com/75lb/common-log-format.git",
"main": "./lib/common-log-format.js",
"license": "MIT",

@@ -22,10 +21,15 @@ "bin": {

"engines": {
"node": ">=0.10.0 <9.0.0"
"node": ">=8"
},
"scripts": {
"test": "tape test/*.js"
"test": "test-runner test.js"
},
"devDependencies": {
"tape": "^4.2.2"
}
"sleep-anywhere": "^1.1.2",
"test-runner": "^0.6.0"
},
"files": [
"index.js",
"bin/cli.js"
]
}

@@ -1,8 +0,9 @@

[![view on npm](http://img.shields.io/npm/v/common-log-format.svg)](https://www.npmjs.org/package/common-log-format)
[![npm module downloads](http://img.shields.io/npm/dt/common-log-format.svg)](https://www.npmjs.org/package/common-log-format)
[![view on npm](https://img.shields.io/npm/v/common-log-format.svg)](https://www.npmjs.org/package/common-log-format)
[![npm module downloads](https://img.shields.io/npm/dt/common-log-format.svg)](https://www.npmjs.org/package/common-log-format)
[![Build Status](https://travis-ci.org/75lb/common-log-format.svg?branch=master)](https://travis-ci.org/75lb/common-log-format)
[![Dependency Status](https://david-dm.org/75lb/common-log-format.svg)](https://david-dm.org/75lb/common-log-format)
[![Dependency Status](https://badgen.net/david/dep/75lb/common-log-format)](https://david-dm.org/75lb/common-log-format)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](https://github.com/feross/standard)
# common-log-format
Pipe in [common log format](http://en.wikipedia.org/wiki/Common_Log_Format), get JSON out. Useful for converting web logs into a format more readily consumed by Javascript.

@@ -40,3 +41,5 @@

## Usage
### As a library
```sh

@@ -52,3 +55,5 @@ $ npm install common-log-format

### Command line
This will install the `clf` command line tool:
```sh

@@ -62,1 +67,5 @@ $ npm install -g common-log-format

```
* * *
&copy; 2015-2019 Lloyd Brookes \<75pound@gmail.com\>.

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