fastify-url
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "fastify-url", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Fastify plugin for parsing and attaching URL data to requests", | ||
"main": "index.js", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"prettier": "prettier --write \"src/**/*.ts\"", | ||
"test": "mocha -r ts-node/register src/**/*.spec.ts", | ||
"test-ts": "tsd", | ||
"test-ci": "npm test && npm run test-ts", | ||
"build": "tsc", | ||
"lint": "eslint -c .eslintrc \"src/**/*.ts\"", | ||
"coverage": "nyc npm test", | ||
"check-coverage": "nyc check-coverage --lines 95 --functions 95 --branches 95", | ||
"report": "nyc report --reporter=lcov", | ||
"prepublishOnly": "npm run build" | ||
@@ -21,3 +25,3 @@ }, | ||
"license": "MIT", | ||
"typings": "fastify-url.d.ts", | ||
"types": "fastify-url.d.ts", | ||
"devDependencies": { | ||
@@ -30,2 +34,3 @@ "@types/chai": "^4.1.7", | ||
"chai": "^4.2.0", | ||
"codecov": "^3.3.0", | ||
"eslint": "^5.16.0", | ||
@@ -40,2 +45,3 @@ "eslint-config-google": "^0.12.0", | ||
"ts-node": "^8.0.3", | ||
"tsd": "^0.7.2", | ||
"typescript": "^3.4.2" | ||
@@ -59,6 +65,2 @@ }, | ||
], | ||
"reporter": [ | ||
"text-summary", | ||
"html" | ||
], | ||
"sourceMap": true, | ||
@@ -65,0 +67,0 @@ "instrument": true |
fastify-url | ||
=========== | ||
[![NPM](https://img.shields.io/npm/v/fastify-url.svg)](https://www.npmjs.com/package/fastify-url) | ||
[![Build Status](https://travis-ci.org/therealsamf/fastify-url.svg?branch=master)](https://travis-ci.org/therealsamf/fastify-url) | ||
[![codecov.io Code Coverage](https://img.shields.io/codecov/c/github/therealsamf/fastify-url.svg?maxAge=2592000)](https://codecov.io/github/therealsamf/fastify-url?branch=master) | ||
A plugin for [fastify](https://www.fastify.io/) for accessing an incoming [request](https://www.fastify.io/docs/latest/Request/)'s URL data. | ||
@@ -13,4 +19,4 @@ | ||
fastify.register(require('fastify-url'), (err) => { | ||
if (err) throw err | ||
fastify.register(require('fastify-url'), err => { | ||
if (err) throw err; | ||
}); | ||
@@ -17,0 +23,0 @@ |
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
7121
49
18