Skip to content

Commit 1d6d7be

Browse files
committed
Update docs & package name to complete fork
1 parent 31a2211 commit 1d6d7be

File tree

3 files changed

+14
-29
lines changed

3 files changed

+14
-29
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ project:
9393
# Navigate to the newly cloned directory
9494
cd <repo-name>
9595
# Assign the original repo to a remote called "upstream"
96-
git remote add upstream https://github.com/Mashape/httpsnippet.git
96+
git remote add upstream https://github.com/httptoolkit/httpsnippet.git
9797
```
9898

9999
2. If you cloned a while ago, get the latest changes from upstream:

README.md

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
1-
# HTTP Snippet [![version][npm-version]][npm-url] [![License][npm-license]][license-url]
1+
# @httptoolkit/HTTPSnippet [![Build Status](https://github.com/httptoolkit/httpsnippet/workflows/CI/badge.svg)](https://github.com/httptoolkit/httpsnippet/actions) [![Available on NPM](https://img.shields.io/npm/v/@httptoolkit/httpsnippet.svg)](https://npmjs.com/package/@httptoolkit/httpsnippet)
22

3-
> HTTP Request snippet generator for *many* languages & tools including: `cURL`, `HTTPie`, `Javascript`, `Node`, `C`, `Java`, `PHP`, `Objective-C`, `Swift`, `Python`, `Ruby`, `C#`, `Go`, `OCaml` and [more](https://github.com/Mashape/httpsnippet/wiki/Targets)!
3+
> _Part of [HTTP Toolkit](https://httptoolkit.tech): powerful tools for building, testing & debugging HTTP(S)_
44
5-
Relies on the popular [HAR](http://www.softwareishard.com/blog/har-12-spec/#request) format to import data and describe HTTP calls.
5+
Httpsnippet is an HTTP request snippet generator for *many* languages & tools including: `cURL`, `HTTPie`, `Javascript`, `Node`, `C`, `Java`, `PHP`, `Objective-C`, `Swift`, `Python`, `Ruby`, `C#`, `Go`, `OCaml` and [more](https://github.com/httptoolkit/httpsnippet/tree/main/src/targets)!
66

7-
See it in action on companion service: [APIembed](https://apiembed.com/)
7+
This library relies on the popular [HAR](http://www.softwareishard.com/blog/har-12-spec/#request) format to import data and describe HTTP calls.
88

9-
[![Build Status][travis-image]][travis-url]
10-
[![Downloads][npm-downloads]][npm-url]
9+
_This is a fork of Kong's (previous Mashape's) [httpsnippet](https://github.com/Kong/httpsnippet/) library, which appears to no longer be maintained. This version is in active production use in [HTTP Toolkit](https://httptoolkit.tech)._
1110

1211
## Install
1312

1413
```shell
1514
# to use in cli
16-
npm install --global httpsnippet
15+
npm install --global @httptoolkit/httpsnippet
1716

1817
# to use as a module
19-
npm install --save httpsnippet
18+
npm install --save @httptoolkit/httpsnippet
2019
```
2120

2221
## Usage
@@ -229,17 +228,3 @@ And constructed with the following guidelines:
229228
- Bug fixes and misc changes **bumps only the patch**
230229

231230
For more information on SemVer, please visit <http://semver.org/>.
232-
233-
## License
234-
235-
[MIT](LICENSE) &copy; [Kong](https://konghq.com)
236-
237-
[license-url]: https://github.com/Kong/httpsnippet/blob/master/LICENSE
238-
239-
[travis-url]: https://travis-ci.org/Kong/httpsnippet
240-
[travis-image]: https://api.travis-ci.org/Kong/httpsnippet.svg?branch=master
241-
242-
[npm-url]: https://www.npmjs.com/package/httpsnippet
243-
[npm-license]: https://img.shields.io/npm/l/httpsnippet.svg?style=flat-square
244-
[npm-version]: https://img.shields.io/npm/v/httpsnippet.svg?style=flat-square
245-
[npm-downloads]: https://img.shields.io/npm/dm/httpsnippet.svg?style=flat-square

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"version": "2.0.0",
3-
"name": "httpsnippet",
4-
"description": "HTTP Request snippet generator for *most* languages",
5-
"author": "Ahmad Nassri <[email protected]> (https://www.mashape.com/)",
6-
"homepage": "https://github.com/Mashape/httpsnippet",
3+
"name": "@httptoolkit/httpsnippet",
4+
"description": "HTTP request snippet generator for *most* languages",
5+
"author": "Tim Perry <[email protected]>",
6+
"homepage": "https://github.com/httptoolkit/httpsnippet",
77
"license": "MIT",
88
"main": "src/index.js",
99
"bin": "bin/httpsnippet",
@@ -44,9 +44,9 @@
4444
"bin",
4545
"src"
4646
],
47-
"repository": "Mashape/httpsnippet",
47+
"repository": "httptoolkit/httpsnippet",
4848
"bugs": {
49-
"url": "https://github.com/Mashape/httpsnippet/issues"
49+
"url": "https://github.com/httptoolkit/httpsnippet/issues"
5050
},
5151
"scripts": {
5252
"quick": "mocha --no-timeouts --fgrep 'Request Validation' --invert",

0 commit comments

Comments
 (0)