@triply/triplydb v7.3.0
TriplyDB javascript client
Documentation
See here for the TriplyDB JavaScript client documentation.
Local development
Prerequisites
- NodeJS and Yarn should be installed
- For unit-testing we recommend having direnv installed.
- Run
yarn
to install all dependencies
Setting up test environment
To run the tests you need to set the API server URL and a access token in your ./envrc-private
variable first: UNITTEST_TOKEN_READ
, UNITTEST_TOKEN_WRITE
, UNITTEST_TOKEN_ACCOUNT
and UNITTEST_API_URL
.
Recommendations for these tokens:
- Create a separate user (e.g.
<MyUserName>-triplydb-js
) the TriplyDB instance you're using, as the unittest will thoroughly removes all datasets from this account before starting the test - Create the tokens for that one, and use these tokens in
./envrc-private
Running the tests
yarn test
.
Building locally
yarn build
transpiles the typescript code, and stores the JS results in the./lib
directoryyarn dev
does the same, but watches for any changes to the typescript files and incrementally transpiles them when needed
Releasing
yarn version [--patch|--minor|--major]
Building the TriplyDB-js binaries
TriplyDB-js is also available as a CLI. This CLI supports uploading files to TriplyDB from the command-line. To build the executable, run yarn run package
.
Run the stored executable (e.g. ./triplydb-linux
) with a --help
argument to find the supported command line arguments.
26 days ago
27 days ago
29 days ago
3 months ago
3 months ago
4 months ago
5 months ago
6 months ago
6 months ago
8 months ago
8 months ago
7 months ago
8 months ago
10 months ago
10 months ago
10 months ago
7 months ago
11 months ago
1 year ago
1 year ago
2 years ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago