JS/TS Peer for the Fluence p2p network
Go to file
2022-08-04 16:51:44 +03:00
.github/workflows Sig service redesign (#126) 2022-02-04 22:39:41 +03:00
aqua Marine JS: add configuration for setting logging level in marine services (#151) 2022-04-24 10:49:57 +03:00
docs Marine JS: add configuration for setting logging level in marine services (#151) 2022-04-24 10:49:57 +03:00
src Expose parse ast method from AVM (#161) 2022-08-04 12:05:31 +03:00
.editorconfig Turn on noImplicitAny and strictNullChecks (#153) 2022-05-12 17:14:16 +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.config.js FluenceConnection: update libp2p to v0.36.2 (#155) 2022-05-18 15:33:24 +03:00
LICENSE Returned built-in Aquamarine calls, updated docs (#11) 2021-01-29 16:48:27 +03:00
package-lock.json Update AVM and MarineJS to latest versions (#162) 2022-08-04 16:51:44 +03:00
package.json Update AVM and MarineJS to latest versions (#162) 2022-08-04 16:51:44 +03:00
README.md Update README.md: fix docker image tag (#116) 2021-12-17 17:19:43 +03:00
tsconfig.json Turn on noImplicitAny and strictNullChecks (#153) 2022-05-12 17:14:16 +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 -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