common-log-format
Advanced tools
Comparing version 0.1.4 to 1.0.0
#!/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) |
{ | ||
"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 | ||
``` | ||
* * * | ||
© 2015-2019 Lloyd Brookes \<75pound@gmail.com\>. |
Sorry, the diff of this file is not supported yet
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
69
4797
2
5
28