Skip to content

Commit 4adc690

Browse files
committed
rename to fastify-http-client
1 parent bb1efa4 commit 4adc690

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# fastify-curl
1+
# fastify-http-client
22

3-
[![NPM](https://nodeico.herokuapp.com/@kenuyx/fastify-curl.svg)](https://npmjs.com/package/@kenuyx/fastify-curl)
3+
[![NPM](https://nodei.co/npm/fastify-http-client.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/fastify-http-client/)
44

5-
[![Build Status](https://travis-ci.org/kenuyx/fastify-curl.svg?branch=master)](https://travis-ci.org/kenuyx/fastify-curl)
5+
[![Build Status](https://travis-ci.org/kenuyx/fastify-http-client.svg?branch=master)](https://travis-ci.org/kenuyx/fastify-http-client)
66
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)
7-
[![codecov](https://codecov.io/gh/kenuyx/fastify-curl/branch/master/graph/badge.svg)](https://codecov.io/gh/kenuyx/fastify-curl)
8-
[![Known Vulnerabilities](https://snyk.io/test/github/kenuyx/fastify-curl/badge.svg?targetFile=package.json)](https://snyk.io/test/github/kenuyx/fastify-curl?targetFile=package.json)
9-
[![Greenkeeper badge](https://badges.greenkeeper.io/kenuyx/fastify-curl.svg)](https://greenkeeper.io/)
7+
[![codecov](https://codecov.io/gh/kenuyx/fastify-http-client/branch/master/graph/badge.svg)](https://codecov.io/gh/kenuyx/fastify-http-client)
8+
[![Known Vulnerabilities](https://snyk.io/test/github/kenuyx/fastify-http-client/badge.svg?targetFile=package.json)](https://snyk.io/test/github/kenuyx/fastify-http-client?targetFile=package.json)
9+
[![Greenkeeper badge](https://badges.greenkeeper.io/kenuyx/fastify-http-client.svg)](https://greenkeeper.io/)
1010

1111
A plugin for [Fastify](http://fastify.io/) that adds support for sending HTTP(s) requests.
1212

@@ -15,7 +15,7 @@ Under the hood [urllib](https://github.com/node-modules/urllib) is used, the opt
1515
## Install
1616

1717
```shell
18-
npm i @kenuyx/fastify-curl --save
18+
npm i fastify-http-client --save
1919
```
2020

2121
## Usage
@@ -28,7 +28,7 @@ You can access the [urllib](https://github.com/node-modules/urllib) `HttpClient`
2828
'use strict'
2929

3030
module.exports = function (fastify, opts, next) {
31-
fastify.register(require('@kenuyx/fastify-curl'))
31+
fastify.register(require('fastify-http-client'))
3232

3333
// request via httpclient
3434
fastify.httpclient.request('https://nodejs.org/en/', (err, body) => {
@@ -55,7 +55,7 @@ You may also supply an existing [urllib](https://github.com/node-modules/urllib)
5555
const urllib = require('urllib')
5656

5757
module.exports = function (fastify, opts, next) {
58-
fastify.register(require('@kenuyx/fastify-curl'), {
58+
fastify.register(require('fastify-http-client'), {
5959
client: urllib.create()
6060
})
6161

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@kenuyx/fastify-curl",
3-
"version": "1.0.1",
2+
"name": "fastify-http-client",
3+
"version": "1.0.0",
44
"description": "urllib plugin for fastify",
55
"main": "index.js",
66
"scripts": {
@@ -16,7 +16,7 @@
1616
],
1717
"repository": {
1818
"type": "git",
19-
"url": "git+https://github.com/kenuyx/fastify-curl.git"
19+
"url": "git+https://github.com/kenuyx/fastify-http-client.git"
2020
},
2121
"keywords": [
2222
"fastify",
@@ -29,9 +29,9 @@
2929
"author": "kenuyx <[email protected]>",
3030
"license": "MIT",
3131
"bugs": {
32-
"url": "https://github.com/kenuyx/fastify-curl/issues"
32+
"url": "https://github.com/kenuyx/fastify-http-client/issues"
3333
},
34-
"homepage": "https://github.com/kenuyx/fastify-curl#readme",
34+
"homepage": "https://github.com/kenuyx/fastify-http-client#readme",
3535
"dependencies": {
3636
"fastify-plugin": "^1.5.0",
3737
"urllib": "^2.33.0"

0 commit comments

Comments
 (0)