You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 10, 2020. It is now read-only.
[](https://saucelabs.com/u/ipfs-js-api)
16
-
17
-
> **Note: If you see CI red, that is due a failing test when adding nested directories in the browser, all the other features work as expect, if this is something you also need, please consider helping us identifying the solution for it, join the discussion at: https://github.com/ipfs/js-ipfs-api/issues/339**
15
+
<!-- Hidding this until we have the SauceLabs situation figured out.
16
+
[](https://saucelabs.com/u/ipfs-js-api)
17
+
-->
18
18
19
19
> A client library for the IPFS HTTP API, implemented in JavaScript. This client library implements the [interface-ipfs-core](https://github.com/ipfs/interface-ipfs-core) enabling applications to change between a embebed js-ipfs node and any remote IPFS node without having to change the code. In addition, this client library implements a set of utility functions.
20
20
@@ -39,25 +39,25 @@ ipfs-api
39
39
This module uses node.js, and can be installed through npm:
40
40
41
41
```bash
42
-
$ npm install --save ipfs-api
42
+
> npm install --save ipfs-api
43
43
```
44
44
45
-
**Note:** ipfs-api requires Node v4.x (LTS) or higher.
45
+
**Note:** ipfs-api requires Node.js v4 (LTS) or higher.
46
46
47
47
### Running the daemon with the right port
48
48
49
49
To interact with the API, you need to have a local daemon running. It needs to be open on the right port. `5001` is the default, and is used in the examples below, but it can be set to whatever you need.
50
50
51
51
```sh
52
52
# Show the ipfs config API port to check it is correct
> `js-ipfs-api` follows the spec defined by [`interface-ipfs-core`](https://github.com/ipfs/interface-ipfs-core), which concerns the interface to expect from IPFS implementations. This interface is a currently active endeavor - expect it to be complete in the next few weeks (August 2016). You can use it today to consult the methods available.
140
+
> `js-ipfs-api` follows the spec defined by [`interface-ipfs-core`](https://github.com/ipfs/interface-ipfs-core), which concerns the interface to expect from IPFS implementations. This interface is a currently active endeavor. You can use it today to consult the methods available.
0 commit comments