JS/TS Peer for the Fluence p2p network
Go to file
2021-11-23 15:29:47 +03:00
.github/workflows Documentation update (#83) 2021-09-27 22:11:35 +03:00
docs Compiler support: define and export FnConfig interface (#97) 2021-11-04 15:15:30 +03:00
src trying to reproduce dashboard bug 2021-11-23 15:29:47 +03:00
.eslintrc.js Tetraplets (#1) 2020-12-23 17:24:22 +03:00
.gitignore Documentation update (#83) 2021-09-27 22:11:35 +03:00
.npmignore Builtin methods, update aquamarine (#960) 2020-10-23 14:01:21 +03:00
.prettierrc.js Tetraplets (#1) 2020-12-23 17:24:22 +03:00
CONTRIBUTING.md Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
jest-patched-jsdom.js Update air (#47) 2021-05-12 00:01:44 +03:00
jest.config.js Update air (#47) 2021-05-12 00:01:44 +03:00
LICENSE Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
package-lock.json trying to reproduce dashboard bug 2021-11-23 15:29:47 +03:00
package.json trying to reproduce dashboard bug 2021-11-23 15:29:47 +03:00
README.md Documentation update (#83) 2021-09-27 22:11:35 +03:00
tsconfig.json Update JS SDK API to the new version (#61) 2021-09-08 12:42:30 +03:00
typedoc.json Documentation update (#83) 2021-09-27 22:11:35 +03:00
typedoc.md Documentation update (#83) 2021-09-27 22:11:35 +03:00

Fluence JS

npm

Official TypeScript implementation of the Fluence Peer.

Getting started

To start developing applications with Fluence JS refer to the official documentation

Contributing

While the project is still in the early stages of development, you are welcome to track progress and contribute. As the project is undergoing rapid changes, interested contributors should contact the team before embarking on larger pieces of work. All contributors should consult with and agree to our basic contributing rules.

Setting up dev environment

Install node packages

npm install

Running tests

Tests are split into unit and integration categories. By default integration tests require a locally running Fluence node with 4310 port open for ws connections. The dependency can be started with docker

 docker run --rm -e RUST_LOG="info" -p 1210:1210 -p 4310:4310 fluencelabs/fluence:freeze -t 1210 -w 4310 -k gKdiCSUr1TFGFEgu2t8Ch1XEUsrN5A2UfBLjSZvfci9SPR3NvZpACfcpPGC3eY4zma1pk7UvYv5zb1VjvPHwCjj

To run all tests in interactive mode

npm run test

To run only unit tests

npm run test:unit

To run only integration tests

npm run test:unit

To run all tests

npm run test:all

License

Apache 2.0