Skip to content

Commit 78bac43

Browse files
author
pooya parsa
committed
chore: rename package
1 parent 5ff33c7 commit 78bac43

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ This module works best with [memory-fs](https://github.com/webpack/memory-fs).
1717
Install package:
1818

1919
```bash
20-
yarn add httpfs
20+
yarn add htfs
2121
```
2222

2323
OR
2424

2525
```bash
26-
npm install httpfs
26+
npm install htfs
2727
```
2828

2929
## Server
3030

3131
Serving real fs is not a good idea. In this example we serve a virtual filesystem.
3232

3333
```js
34-
const HTTPFSMiddleware = require('httpfs/lib/middleware')
34+
const HTTPFSMiddleware = require('htfs/lib/middleware')
3535
const express = require('express')
3636
const MFS = require('memory-fs')
3737

@@ -58,7 +58,7 @@ Supported methods:
5858
- `readFile(path): Promise<String>`
5959

6060
```js
61-
const HTTPFSAClient = require('httpfs/lib/client')
61+
const HTTPFSAClient = require('htfs/lib/client')
6262

6363
const fs = new HTTPFSAClient({
6464
endpoint: 'http://localhost:8080/mfs'
@@ -82,20 +82,20 @@ MIT. Made with 💖
8282
[standard-src]: https://flat.badgen.net/badge/code%20style/standard/green
8383
[standard-href]: https://standardjs.com
8484

85-
[npm-v-src]: https://flat.badgen.net/npm/v/httpfs/latest
86-
[npm-v-href]: https://npmjs.com/package/httpfs
85+
[npm-v-src]: https://flat.badgen.net/npm/v/htfs/latest
86+
[npm-v-href]: https://npmjs.com/package/htfs
8787

88-
[npm-dt-src]: https://flat.badgen.net/npm/dt/httpfs
89-
[npm-dt-href]: https://npmjs.com/package/httpfs
88+
[npm-dt-src]: https://flat.badgen.net/npm/dt/htfs
89+
[npm-dt-href]: https://npmjs.com/package/htfs
9090

91-
[packagephobia-src]: https://flat.badgen.net/packagephobia/install/httpfs
92-
[packagephobia-href]: https://packagephobia.now.sh/result?p=httpfs
91+
[packagephobia-src]: https://flat.badgen.net/packagephobia/install/htfs
92+
[packagephobia-href]: https://packagephobia.now.sh/result?p=htfs
9393

94-
[david-src]: https://flat.badgen.net/david/dep/jsless/httpfs
95-
[david-href]: https://david-dm.org/jsless/httpfs
94+
[david-src]: https://flat.badgen.net/david/dep/jsless/htfs
95+
[david-href]: https://david-dm.org/jsless/htfs
9696

97-
[codecov-src]: https://flat.badgen.net/codecov/c/github/jsless/httpfs/master
98-
[codecov-href]: https://codecov.io/gh/jsless/httpfs
97+
[codecov-src]: https://flat.badgen.net/codecov/c/github/jsless/htfs/master
98+
[codecov-href]: https://codecov.io/gh/jsless/htfs
9999

100-
[circleci-src]: https://flat.badgen.net/circleci/github/jsless/httpfs/master
101-
[circleci-href]: https://circleci.com/gh/jsless/httpfs
100+
[circleci-src]: https://flat.badgen.net/circleci/github/jsless/htfs/master
101+
[circleci-href]: https://circleci.com/gh/jsless/htfs

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"name": "httpfs",
3-
"version": "0.0.1",
2+
"name": "htfs",
3+
"version": "0.0.0",
44
"license": "MIT",
55
"description": "Expose filesystem via HTTP and access it from the other side!",
6-
"repository": "jesless/httpfs",
6+
"repository": "jesless/htfs",
77
"contributes": [
88
"Pooya Parsa <[email protected]>"
99
],

0 commit comments

Comments
 (0)