7.3.0 • Published 26 days ago

@triply/triplydb v7.3.0

Weekly downloads
204
License
MIT
Repository
github
Last release
26 days ago

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 directory
  • yarn 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.

7.3.0

26 days ago

7.2.0

27 days ago

7.1.0

29 days ago

7.0.2

3 months ago

7.0.1

3 months ago

7.0.0

4 months ago

6.1.2

5 months ago

6.1.0

6 months ago

6.1.1

6 months ago

6.0.7

8 months ago

6.0.6

8 months ago

6.0.9

7 months ago

6.0.8

8 months ago

6.0.3

10 months ago

6.0.2

10 months ago

6.0.5

10 months ago

6.0.10

7 months ago

6.0.0

11 months ago

5.0.1

1 year ago

5.0.0

1 year ago

4.2.3

2 years ago

4.3.0

1 year ago

3.0.3

2 years ago

4.2.1

2 years ago

4.2.0

2 years ago

4.1.16

2 years ago

4.1.17

2 years ago

4.1.18

2 years ago

4.1.11

2 years ago

4.1.12

2 years ago

4.1.13

2 years ago

4.1.14

2 years ago

4.1.9

2 years ago

4.1.10

2 years ago

4.1.8

2 years ago

4.1.7

2 years ago

4.0.0

2 years ago

4.1.4

2 years ago

4.1.3

2 years ago

4.1.6

2 years ago

4.1.5

2 years ago

4.1.0

2 years ago

4.1.2

2 years ago

4.1.1

2 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.2.0

3 years ago

2.1.42

3 years ago

2.1.41

3 years ago

2.1.40

3 years ago

2.1.39

3 years ago

2.1.38

3 years ago

2.1.36

3 years ago

2.1.37

3 years ago

2.1.34

3 years ago

2.1.35

3 years ago

2.1.33

3 years ago

2.1.29

3 years ago

2.1.32

3 years ago

2.1.27

3 years ago

2.1.28

3 years ago

2.1.26

3 years ago

2.1.25

3 years ago

2.1.22

3 years ago

2.1.21

3 years ago

2.1.20

3 years ago

2.1.19

3 years ago

2.1.18

3 years ago

2.1.17

3 years ago

2.1.16

3 years ago

2.1.15

3 years ago

2.1.14

3 years ago

2.1.12

3 years ago

2.1.13

3 years ago

2.1.11

3 years ago

2.1.10

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

4 years ago

1.0.0

4 years ago