Maintainer: Krishna Kumar (krishna.kumar@maidsafe.net)
safe_app Node.js library.
Linux/OS X | Windows |
---|---|
Coverage status |
---|
The documentation for the safe_app Node.js API is available at http://docs.maidsafe.net/safe_app_nodejs/.
The external libraries will automatically be downloaded when you run npm install
.
If you are working on a development environment, you can run NODE_ENV=dev npm install
instead in order to get the safe_client
libraries which use the MockVault
file rather than connecting to the SAFE Network.
To run the tests locally, make sure you installed the safe_client
libraries with NODE_ENV=dev npm install
, then you can run them by executing npm test
.
You may possibly be compiling your own safe_app library for testing purposes. In this case, if you want to be able to run the tests, make sure to include testing
in your build features when compiling safe_app
in safe_client_libs
, i.e. cargo build --release --features "use-mock-routing testing"
.
Licensed under either of
- the MaidSafe.net Commercial License, version 1.0 or later (LICENSE)
- the General Public License (GPL), version 3 (COPYING or http://www.gnu.org/licenses/gpl-3.0.en.html)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the MaidSafe Contributor Agreement, version 1.1 ([CONTRIBUTOR] (CONTRIBUTOR)), shall be dual licensed as above, and you agree to be bound by the terms of the MaidSafe Contributor Agreement, version 1.1.